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

index 1d2705b..d4a6491 100644 (file)
@@ -271,9 +271,9 @@ class Pman_Core_Images extends Pman
     }
     function validateSize()
     {
-        if (($this->authUser && $this->authUser->company_id && $this->authUser->company()->comptype=='OWNER') || $_SERVER['SERVER_ADDR'] == $_SERVER['REMOTE_ADDR']) {
-            return true;
-        }
+//        if (($this->authUser && $this->authUser->company_id && $this->authUser->company()->comptype=='OWNER') || $_SERVER['SERVER_ADDR'] == $_SERVER['REMOTE_ADDR']) {
+//            return true;
+//        }
         
         
         $ff = HTML_FlexyFramework::get();