Images.php
authoredward <edward@roojs.com>
Fri, 29 Apr 2016 08:34:46 +0000 (16:34 +0800)
committeredward <edward@roojs.com>
Fri, 29 Apr 2016 08:34:46 +0000 (16:34 +0800)
Images.php

index 438db09..c209679 100644 (file)
@@ -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;
         }