mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #621 from shama/patch-bootstrap
Update available App::build settings in bootstrap
This commit is contained in:
commit
8a6417521f
2 changed files with 36 additions and 22 deletions
|
@ -89,17 +89,24 @@ Cache::config('default', array('engine' => 'File'));
|
||||||
* The settings below can be used to set additional paths to models, views and controllers.
|
* The settings below can be used to set additional paths to models, views and controllers.
|
||||||
*
|
*
|
||||||
* App::build(array(
|
* App::build(array(
|
||||||
* 'Plugin' => array('/full/path/to/plugins/', '/next/full/path/to/plugins/'),
|
* 'Model' => array('/path/to/models', '/next/path/to/models'),
|
||||||
* 'Model' => array('/full/path/to/models/', '/next/full/path/to/models/'),
|
* 'Model/Behavior' => array('/path/to/behaviors', '/next/path/to/behaviors'),
|
||||||
* 'View' => array('/full/path/to/views/', '/next/full/path/to/views/'),
|
* 'Model/Datasource' => array('/path/to/datasources', '/next/path/to/datasources'),
|
||||||
* 'Controller' => array('/full/path/to/controllers/', '/next/full/path/to/controllers/'),
|
* 'Model/Datasource/Database' => array('/path/to/databases', '/next/path/to/database'),
|
||||||
* 'Model/Datasource' => array('/full/path/to/datasources/', '/next/full/path/to/datasources/'),
|
* 'Model/Datasource/Session' => array('/path/to/sessions', '/next/path/to/sessions'),
|
||||||
* 'Model/Behavior' => array('/full/path/to/behaviors/', '/next/full/path/to/behaviors/'),
|
* 'Controller' => array('/path/to/controllers', '/next/path/to/controllers'),
|
||||||
* 'Controller/Component' => array('/full/path/to/components/', '/next/full/path/to/components/'),
|
* 'Controller/Component' => array('/path/to/components', '/next/path/to/components'),
|
||||||
* 'View/Helper' => array('/full/path/to/helpers/', '/next/full/path/to/helpers/'),
|
* 'Controller/Component/Auth' => array('/path/to/auths', '/next/path/to/auths'),
|
||||||
* 'Vendor' => array('/full/path/to/vendors/', '/next/full/path/to/vendors/'),
|
* 'Controller/Component/Acl' => array('/path/to/acls', '/next/path/to/acls'),
|
||||||
* 'Console/Command' => array('/full/path/to/shells/', '/next/full/path/to/shells/'),
|
* 'View' => array('/path/to/views', '/next/path/to/views'),
|
||||||
* 'Locale' => array('/full/path/to/locale/', '/next/full/path/to/locale/')
|
* 'View/Helper' => array('/path/to/helpers', '/next/path/to/helpers'),
|
||||||
|
* 'Console' => array('/path/to/consoles', '/next/path/to/consoles'),
|
||||||
|
* 'Console/Command' => array('/path/to/commands', '/next/path/to/commands'),
|
||||||
|
* 'Console/Command/Task' => array('/path/to/tasks', '/next/path/to/tasks'),
|
||||||
|
* 'Lib' => array('/path/to/libs', '/next/path/to/libs'),
|
||||||
|
* 'Locale' => array('/path/to/locales', '/next/path/to/locales'),
|
||||||
|
* 'Vendor' => array('/path/to/vendors', '/next/path/to/vendors'),
|
||||||
|
* 'Plugin' => array('/path/to/plugins', '/next/path/to/plugins'),
|
||||||
* ));
|
* ));
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -30,17 +30,24 @@ Cache::config('default', array('engine' => 'File'));
|
||||||
* The settings below can be used to set additional paths to models, views and controllers.
|
* The settings below can be used to set additional paths to models, views and controllers.
|
||||||
*
|
*
|
||||||
* App::build(array(
|
* App::build(array(
|
||||||
* 'Plugin' => array('/full/path/to/plugins/', '/next/full/path/to/plugins/'),
|
* 'Model' => array('/path/to/models', '/next/path/to/models'),
|
||||||
* 'Model' => array('/full/path/to/models/', '/next/full/path/to/models/'),
|
* 'Model/Behavior' => array('/path/to/behaviors', '/next/path/to/behaviors'),
|
||||||
* 'View' => array('/full/path/to/views/', '/next/full/path/to/views/'),
|
* 'Model/Datasource' => array('/path/to/datasources', '/next/path/to/datasources'),
|
||||||
* 'Controller' => array('/full/path/to/controllers/', '/next/full/path/to/controllers/'),
|
* 'Model/Datasource/Database' => array('/path/to/databases', '/next/path/to/database'),
|
||||||
* 'Model/Datasource' => array('/full/path/to/datasources/', '/next/full/path/to/datasources/'),
|
* 'Model/Datasource/Session' => array('/path/to/sessions', '/next/path/to/sessions'),
|
||||||
* 'Model/Behavior' => array('/full/path/to/behaviors/', '/next/full/path/to/behaviors/'),
|
* 'Controller' => array('/path/to/controllers', '/next/path/to/controllers'),
|
||||||
* 'Controller/Component' => array('/full/path/to/components/', '/next/full/path/to/components/'),
|
* 'Controller/Component' => array('/path/to/components', '/next/path/to/components'),
|
||||||
* 'View/Helper' => array('/full/path/to/helpers/', '/next/full/path/to/helpers/'),
|
* 'Controller/Component/Auth' => array('/path/to/auths', '/next/path/to/auths'),
|
||||||
* 'Vendor' => array('/full/path/to/vendors/', '/next/full/path/to/vendors/'),
|
* 'Controller/Component/Acl' => array('/path/to/acls', '/next/path/to/acls'),
|
||||||
* 'Console/Command' => array('/full/path/to/shells/', '/next/full/path/to/shells/'),
|
* 'View' => array('/path/to/views', '/next/path/to/views'),
|
||||||
* 'Locale' => array('/full/path/to/locale/', '/next/full/path/to/locale/')
|
* 'View/Helper' => array('/path/to/helpers', '/next/path/to/helpers'),
|
||||||
|
* 'Console' => array('/path/to/consoles', '/next/path/to/consoles'),
|
||||||
|
* 'Console/Command' => array('/path/to/commands', '/next/path/to/commands'),
|
||||||
|
* 'Console/Command/Task' => array('/path/to/tasks', '/next/path/to/tasks'),
|
||||||
|
* 'Lib' => array('/path/to/libs', '/next/path/to/libs'),
|
||||||
|
* 'Locale' => array('/path/to/locales', '/next/path/to/locales'),
|
||||||
|
* 'Vendor' => array('/path/to/vendors', '/next/path/to/vendors'),
|
||||||
|
* 'Plugin' => array('/path/to/plugins', '/next/path/to/plugins'),
|
||||||
* ));
|
* ));
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue