Renaming constants and fixing the last error related to folder renaming

This commit is contained in:
Jose Lorenzo Rodriguez 2011-04-10 15:32:45 -04:30
parent 7f2734d053
commit 50b47c8729
2 changed files with 8 additions and 8 deletions

View file

@ -51,37 +51,37 @@ if (!defined('APP')) {
/**
* Path to the application's models directory.
*/
define('MODELS', APP.'models'.DS);
define('MODELS', APP.'Model'.DS);
/**
* Path to model behaviors directory.
*/
define('BEHAVIORS', MODELS.'behaviors'.DS);
define('BEHAVIORS', MODELS.'Behavior'.DS);
/**
* Path to the application's controllers directory.
*/
define('CONTROLLERS', APP.'controllers'.DS);
define('CONTROLLERS', APP.'Controller'.DS);
/**
* Path to the application's components directory.
*/
define('COMPONENTS', CONTROLLERS.'components'.DS);
define('COMPONENTS', CONTROLLERS.'Component'.DS);
/**
* Path to the application's libs directory.
*/
define('APPLIBS', APP.'libs'.DS);
define('APPLIBS', APP.'Lib'.DS);
/**
* Path to the application's views directory.
*/
define('VIEWS', APP.'views'.DS);
define('VIEWS', APP.'View'.DS);
/**
* Path to the application's helpers directory.
*/
define('HELPERS', VIEWS.'helpers'.DS);
define('HELPERS', VIEWS.'Helper'.DS);
/**
* Path to the application's view's layouts directory.

View file

@ -89,7 +89,7 @@ class CacheTest extends CakeTestCase {
*/
function testConfigWithLibAndPluginEngines() {
App::build(array(
'Lib' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'libs' . DS),
'Lib' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'Lib' . DS),
'plugins' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'plugins' . DS)
), true);