projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6bb0bf
)
Pman/Images.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 20 Oct 2011 03:46:22 +0000
(11:46 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 20 Oct 2011 03:46:22 +0000
(11:46 +0800)
Pman/Images.php
patch
|
blob
|
history
diff --git
a/Pman/Images.php
b/Pman/Images.php
index
634c275
..
a5b395d
100644
(file)
--- a/
Pman/Images.php
+++ b/
Pman/Images.php
@@
-158,6
+158,7
@@
class Pman_Images extends Pman
}
function validateSize()
{
+ // this should be configurable...
if (!in_array($this->size, array(
'100',
@@
-167,7
+168,8
@@
class Pman_Images extends Pman
'200',
'200x0',
'200x200',
- '400x0'
+ '400x0',
+ '500',
))) {
die("invalid scale - ".$this->size);
}