projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DataObjects/core.sql
[Pman.Core]
/
Images.php
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(