Images.php
authorAlan Knowles <alan@roojs.com>
Wed, 24 Jul 2013 06:33:24 +0000 (14:33 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 24 Jul 2013 06:33:24 +0000 (14:33 +0800)
Images.php

index 833a47d..c659c4d 100644 (file)
@@ -286,6 +286,10 @@ class Pman_Core_Images extends Pman
     function validateSize()
     {
         
+        if ($this->authUser && $this->authUser->company_id && $this->authUser->company()->comptype=='OWNER') {
+            return true;
+        }
+        
         // DEFAULT allowed - override with $cfg['sizes'];
         
         $sizes = array(