Fixes #149
[akelos.git] / lib / AkConfig / AkPhpConfigFile.php
blobe12b7a2fe1552851f4f7786deadf40ed5ae71bac
1 <?php
2 /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4 // WARNING THIS CODE IS EXPERIMENTAL
6 // +----------------------------------------------------------------------+
7 // | Akelos Framework - http://www.akelos.org |
8 // +----------------------------------------------------------------------+
9 // | Copyright (c) 2002-2006, Akelos Media, S.L. & Bermi Ferrer Martinez |
10 // | Released under the GNU Lesser General Public License, see LICENSE.txt|
11 // +----------------------------------------------------------------------+
13 /**
14 * @package ActiveSupport
15 * @subpackage Experimental
16 * @author Bermi Ferrer <bermi a.t akelos c.om>
17 * @copyright Copyright (c) 2002-2006, Akelos Media, S.L. http://www.akelos.org
18 * @license GNU Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
21 /**
22 * @todo Add
26 class AkPhpConfigFile
28 function getAll()
30 if(!empty($_SESSION['__ak_config'])){
31 return $_SESSION['__ak_config'];
33 include(AK_CONFIG_DIR.DS.'');