projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
09528c3
)
Images.php
author
Alan Knowles
<alan@roojs.com>
Fri, 18 May 2018 01:54:24 +0000
(09:54 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 18 May 2018 01:54:24 +0000
(09:54 +0800)
Images.php
patch
|
blob
|
history
diff --git
a/Images.php
b/Images.php
index
474eb64
..
be02d68
100644
(file)
--- a/
Images.php
+++ b/
Images.php
@@
-41,7
+41,18
@@
class Pman_Core_Images extends Pman
// tables that do not need authentication checks before serving.
var $public_image_tables = array();
// tables that do not need authentication checks before serving.
var $public_image_tables = array();
-
+ var $sizes = array(
+ '100',
+ '100x100',
+ '150',
+ '150x150',
+ '200',
+ '200x0',
+ '200x200',
+ '400x0',
+ '300x100',
+ '500'
+ );
function getAuth()
{
parent::getAuth(); // load company!
function getAuth()
{
parent::getAuth(); // load company!
@@
-325,18
+336,7
@@
class Pman_Core_Images extends Pman
$ff = HTML_FlexyFramework::get();
$ff = HTML_FlexyFramework::get();
- $sizes = array(
- '100',
- '100x100',
- '150',
- '150x150',
- '200',
- '200x0',
- '200x200',
- '400x0',
- '300x100',
- '500'
- );
+ $sizes= $this->sizes;
$cfg = isset($ff->Pman_Images) ? $ff->Pman_Images :
(isset($ff->Pman_Core_Images) ? $ff->Pman_Core_Images : array());
$cfg = isset($ff->Pman_Images) ? $ff->Pman_Images :
(isset($ff->Pman_Core_Images) ? $ff->Pman_Core_Images : array());