X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Images.php;h=be02d68827c58be2858ae70c02f4d9b5f2948ff0;hb=4b7f178c3dada7721265eb91c37b40976a42d4c0;hp=474eb64fd244be561d28fb03f027e7290a21fb16;hpb=09528c3df77aced20453c0edd0f35826583b3428;p=Pman.Core diff --git a/Images.php b/Images.php index 474eb64f..be02d688 100644 --- 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(); - + var $sizes = array( + '100', + '100x100', + '150', + '150x150', + '200', + '200x0', + '200x200', + '400x0', + '300x100', + '500' + ); function getAuth() { parent::getAuth(); // load company! @@ -325,18 +336,7 @@ class Pman_Core_Images extends Pman $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());