Issues

ZF-8077: Zend_Acl doesn't include necessary files

Description

Fatal error: Class 'Zend_Acl_Role' not found in /home/dolf/Projects/ZF-Standard-Trunk/library/Zend/Acl.php on line 134

{quote}<?php error_reporting(E_ALL|E_STRICT); require_once 'Zend/Acl.php';

$acl = new Zend_Acl(); $acl->addRole('admin'); $acl->addResource('blog'); $acl->allow('admin', 'blog', 'read'); $acl->removeAllow(array('admin'), array('blog'), null); {quote}

Comments

No comments to display