mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Renaming constants and fixing the last error related to folder renaming
This commit is contained in:
parent
7f2734d053
commit
50b47c8729
2 changed files with 8 additions and 8 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue