This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resources.cachemanager.app.frontend.name = Core | |
resources.cachemanager.app.frontend.options.lifetime = 604800 | |
resources.cachemanager.app.frontend.options.automatic_serialization = true | |
resources.cachemanager.app.frontend.options.automatic_cleaning_factor = 1 | |
resources.cachemanager.app.backend.name = File | |
resources.cachemanager.app.backend.options.lifetime = 604800 | |
resources.cachemanager.app.backend.options.cache_dir = PUBLIC_PATH "/data/cache" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Model_Acl extends Zend_Acl { | |
public function __construct() { | |
// define Roles | |
$this->addRole(new Zend_Acl_Role('guest')); // not authenicated | |
$this->addRole(new Zend_Acl_Role('member'), 'guest'); // authenticated as member inherit guest privilages | |
$this->addRole(new Zend_Acl_Role('admin'), 'member'); // authenticated as admin inherit member privilages |