projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
97d0869
)
DataObjects/Images.php
author
leon
<leon@roojs.com>
Mon, 18 Dec 2023 04:10:02 +0000
(12:10 +0800)
committer
leon
<leon@roojs.com>
Mon, 18 Dec 2023 04:10:02 +0000
(12:10 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
6ff54cd
..
1f4b8a8
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-226,9
+226,9
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
static function staticExists()
{
clearstatcache();
static function staticExists()
{
clearstatcache();
- $ret = file_exists(self::
g
etStoreName());
+ $ret = file_exists(self::
staticG
etStoreName());
if (!$ret) {
if (!$ret) {
- return self::
c
anFix();
+ return self::
staticC
anFix();
}
return $ret;
}
}
return $ret;
}
@@
-247,7
+247,7
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
{
// look for the image in the folder, with matching id.
// this is problematic..
{
// look for the image in the folder, with matching id.
// this is problematic..
- $fn = self::
g
etStoreName();
+ $fn = self::
staticG
etStoreName();
if (file_exists($fn . '-really-missing')) {
return false;
}
if (file_exists($fn . '-really-missing')) {
return false;
}