/src/administrator/components/com_application/aliases.php
PHP | 22 lines | 7 code | 4 blank | 11 comment | 0 complexity | 3ee9af42d931880c38d064fcefd4a43e MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1
- <?php
- /**
- * LICENSE: ##LICENSE##
- *
- * @category Anahita
- * @author Arash Sanieyan <ash@anahitapolis.com>
- * @author Rastin Mehr <rastin@anahitapolis.com>
- * @copyright 2008 - 2010 rmdStudio Inc./Peerglobe Technology Inc
- * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl-3.0.html>
- * @version SVN: $Id: view.php 13650 2012-04-11 08:56:41Z asanieyan $
- * @link http://www.anahitapolis.com
- */
- $config = new JConfig();
- $config->cache_prefix = md5($config->secret).'-cache-system';
- $config->cache_enabled = $config->caching;
- KService::setAlias('application.registry', 'com://admin/application.registry');
- KService::setConfig('application.registry', array('cache_prefix'=>$config->cache_prefix,'cache_enabled'=>$config->cache_enabled));
- ?>