projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3702efc
)
Images.php
wip_edward_T5784_COVERAGE_BY_REGION_Others
author
Edward
<edward@roojs.com>
Fri, 1 Mar 2019 07:15:35 +0000
(15:15 +0800)
committer
Edward
<edward@roojs.com>
Fri, 1 Mar 2019 07:15:35 +0000
(15:15 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
bcf9b49
..
4d2fd14
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-334,6
+334,10
@@
class Pman_Core_Images extends Pman
}
function validateSize()
{
+ if($this->is_local) {
+ return true;
+ }
+
if (($this->authUser && !empty($this->authUser->company_id) && $this->authUser->company()->comptype=='OWNER')
|| $_SERVER['SERVER_ADDR'] == $_SERVER['REMOTE_ADDR']) {
return true;