projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7d2acd
)
Images.php
author
Alan Knowles
<alan@roojs.com>
Wed, 24 Jul 2013 06:33:24 +0000
(14:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 24 Jul 2013 06:33:24 +0000
(14:33 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
833a47d
..
c659c4d
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-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(