From 89d3221adcce65dbd7ab13fcc200676963f4b8ed Mon Sep 17 00:00:00 2001 From: Kyle Robinson Young Date: Sun, 22 Apr 2012 21:16:00 -0700 Subject: [PATCH] Update available App::build settings in bootstrap --- app/Config/bootstrap.php | 29 ++++++++++++------- .../Templates/skel/Config/bootstrap.php | 29 ++++++++++++------- 2 files changed, 36 insertions(+), 22 deletions(-) diff --git a/app/Config/bootstrap.php b/app/Config/bootstrap.php index 4c5474648..813785aee 100644 --- a/app/Config/bootstrap.php +++ b/app/Config/bootstrap.php @@ -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. * * App::build(array( - * 'Plugin' => array('/full/path/to/plugins/', '/next/full/path/to/plugins/'), - * 'Model' => array('/full/path/to/models/', '/next/full/path/to/models/'), - * 'View' => array('/full/path/to/views/', '/next/full/path/to/views/'), - * 'Controller' => array('/full/path/to/controllers/', '/next/full/path/to/controllers/'), - * 'Model/Datasource' => array('/full/path/to/datasources/', '/next/full/path/to/datasources/'), - * 'Model/Behavior' => array('/full/path/to/behaviors/', '/next/full/path/to/behaviors/'), - * 'Controller/Component' => array('/full/path/to/components/', '/next/full/path/to/components/'), - * 'View/Helper' => array('/full/path/to/helpers/', '/next/full/path/to/helpers/'), - * 'Vendor' => array('/full/path/to/vendors/', '/next/full/path/to/vendors/'), - * 'Console/Command' => array('/full/path/to/shells/', '/next/full/path/to/shells/'), - * 'Locale' => array('/full/path/to/locale/', '/next/full/path/to/locale/') + * 'Model' => array('/path/to/models', '/next/path/to/models'), + * 'Model/Behavior' => array('/path/to/behaviors', '/next/path/to/behaviors'), + * 'Model/Datasource' => array('/path/to/datasources', '/next/path/to/datasources'), + * 'Model/Datasource/Database' => array('/path/to/databases', '/next/path/to/database'), + * 'Model/Datasource/Session' => array('/path/to/sessions', '/next/path/to/sessions'), + * 'Controller' => array('/path/to/controllers', '/next/path/to/controllers'), + * 'Controller/Component' => array('/path/to/components', '/next/path/to/components'), + * 'Controller/Component/Auth' => array('/path/to/auths', '/next/path/to/auths'), + * 'Controller/Component/Acl' => array('/path/to/acls', '/next/path/to/acls'), + * 'View' => array('/path/to/views', '/next/path/to/views'), + * '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'), * )); * */ diff --git a/lib/Cake/Console/Templates/skel/Config/bootstrap.php b/lib/Cake/Console/Templates/skel/Config/bootstrap.php index 78ac2896e..3c527c635 100644 --- a/lib/Cake/Console/Templates/skel/Config/bootstrap.php +++ b/lib/Cake/Console/Templates/skel/Config/bootstrap.php @@ -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. * * App::build(array( - * 'Plugin' => array('/full/path/to/plugins/', '/next/full/path/to/plugins/'), - * 'Model' => array('/full/path/to/models/', '/next/full/path/to/models/'), - * 'View' => array('/full/path/to/views/', '/next/full/path/to/views/'), - * 'Controller' => array('/full/path/to/controllers/', '/next/full/path/to/controllers/'), - * 'Model/Datasource' => array('/full/path/to/datasources/', '/next/full/path/to/datasources/'), - * 'Model/Behavior' => array('/full/path/to/behaviors/', '/next/full/path/to/behaviors/'), - * 'Controller/Component' => array('/full/path/to/components/', '/next/full/path/to/components/'), - * 'View/Helper' => array('/full/path/to/helpers/', '/next/full/path/to/helpers/'), - * 'Vendor' => array('/full/path/to/vendors/', '/next/full/path/to/vendors/'), - * 'Console/Command' => array('/full/path/to/shells/', '/next/full/path/to/shells/'), - * 'Locale' => array('/full/path/to/locale/', '/next/full/path/to/locale/') + * 'Model' => array('/path/to/models', '/next/path/to/models'), + * 'Model/Behavior' => array('/path/to/behaviors', '/next/path/to/behaviors'), + * 'Model/Datasource' => array('/path/to/datasources', '/next/path/to/datasources'), + * 'Model/Datasource/Database' => array('/path/to/databases', '/next/path/to/database'), + * 'Model/Datasource/Session' => array('/path/to/sessions', '/next/path/to/sessions'), + * 'Controller' => array('/path/to/controllers', '/next/path/to/controllers'), + * 'Controller/Component' => array('/path/to/components', '/next/path/to/components'), + * 'Controller/Component/Auth' => array('/path/to/auths', '/next/path/to/auths'), + * 'Controller/Component/Acl' => array('/path/to/acls', '/next/path/to/acls'), + * 'View' => array('/path/to/views', '/next/path/to/views'), + * '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'), * )); * */