BUGFIX Using $allowed_actions in Image_Uploader

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@73255 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2009-03-17 22:26:52 +00:00
parent 6121cc4782
commit 44d213e0b2

View File

@ -477,6 +477,10 @@ class Image_Uploader extends Controller {
'$Action/$Class/$ID/$Field' => 'handleAction',
);
static $allowed_actions = array(
'*' => 'CMS_ACCESS_CMSMain'
);
function init() {
// set language
$member = Member::currentUser();