root/trunk/index.php

Revision 296, 0.9 kB (checked in by bermiferrer, 4 years ago)

Some big changes are being introduced on this commit.

The first is related on the way that Akelos bootstraps.

Before this commit the file config/boot.php contained most of Akelos environment guessing code. It was the place were constants were defined.

That made users have to update their config/boot.php file every time the file was updated which was too frequently.

From now ahead constants are defined at lib/constants.php which is in the framework path instead of in the application path.

config/boot.php will just lookup for the framework and base dir and that will hardly change at all.

The other change is related with the reduction of writable paths in Akelos.
The default location of the cache directory has moved to the newly created ./tmp/cache directory.

Temporary data now resides at ./tmp instead of previous ./cache/tmp

Line 
1 <?php
2 /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
3
4 // +----------------------------------------------------------------------+
5 // | Akelos Framework - http://www.akelos.org                             |
6 // +----------------------------------------------------------------------+
7 // | Copyright (c) 2002-2006, Akelos Media, S.L.  & Bermi Ferrer Martinez |
8 // | Released under the GNU Lesser General Public License, see LICENSE.txt|
9 // +----------------------------------------------------------------------+
10
11 /**
12  * @author Bermi Ferrer <bermi a.t akelos c.om>
13  * @copyright Copyright (c) 2002-2006, Akelos Media, S.L. http://www.akelos.org
14  * @license GNU Lesser General Public License <http://www.gnu.org/copyleft/lesser.html>
15  */
16
17 // Use the command line installer to only make your public the only public accesible point.
18 define('AK_INSECURE_APP_DIRECTORY_LAYOUT', true);
19 include('public'.DIRECTORY_SEPARATOR.'index.php');
20
21 ?>
22
Note: See TracBrowser for help on using the browser.