projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323a17b
)
Images.php
author
edward
<edward@roojs.com>
Fri, 29 Apr 2016 08:34:46 +0000
(16:34 +0800)
committer
edward
<edward@roojs.com>
Fri, 29 Apr 2016 08:34:46 +0000
(16:34 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
438db09
..
c209679
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-257,8
+257,7
@@
class Pman_Core_Images extends Pman
}
}
- if (!file_exists($fn)) {
-
+ if (!file_exists($fn)) {
$this->validateSize();
}
@@
-272,6
+271,7
@@
class Pman_Core_Images extends Pman
}
function validateSize()
{
+ print_r('run???');exit;
if (($this->authUser && $this->authUser->company_id && $this->authUser->company()->comptype=='OWNER') || $_SERVER['SERVER_ADDR'] == $_SERVER['REMOTE_ADDR']) {
return true;
}