remove LIBS constant

libs always means the Cake lib - so use the CAKE constant
This commit is contained in:
AD7six 2011-04-17 12:35:21 +02:00
parent ff2d9e244a
commit afa8f6b441
67 changed files with 571 additions and 434 deletions

View file

@ -51,7 +51,7 @@ if (!defined('APP')) {
/**
* Path to the application's libs directory.
*/
define('APPLIBS', APP.'Lib'.DS);
define('APPCAKE', APP.'Lib'.DS);
/**
* Path to the configuration files directory.
@ -60,11 +60,6 @@ if (!defined('CONFIGS')) {
define('CONFIGS', APP.'Config'.DS);
}
/**
* Path to the libs directory.
*/
define('LIBS', CAKE);
/**
* Path to the public CSS directory.
*/
@ -140,9 +135,9 @@ if (!defined('JS_URL')) {
}
require LIBS . 'basics.php';
require LIBS . 'Core' . DS .'App.php';
require LIBS . 'Error' . DS . 'exceptions.php';
require CAKE . 'basics.php';
require CAKE . 'Core' . DS .'App.php';
require CAKE . 'Error' . DS . 'exceptions.php';
spl_autoload_register(array('App', 'load'));