BUGFIX Using $allowed_actions in Image_Uploader (Merged from r73255)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@73280 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-03-18 02:50:25 +00:00 committed by Sam Minnee
parent 33f2996ea3
commit 4dbe5c60ee

View File

@ -429,6 +429,11 @@ class Image_Saver extends DBField {
* @subpackage filesystem
*/
class Image_Uploader extends Controller {
static $allowed_actions = array(
'*' => 'CMS_ACCESS_CMSMain'
);
/**
* Ensures the css is loaded for the iframe.
*/