|
1 | 1 | <?php
|
2 |
| -/* SVN FILE: $Id$ */ |
3 | 2 | /**
|
4 |
| - * Short description for file. |
| 3 | + * This file is loaded automatically by the app/webroot/index.php file after the core bootstrap.php |
5 | 4 | *
|
6 |
| - * Long description for file |
| 5 | + * This is an application wide file to load any function that is not used within a class |
| 6 | + * define. You can also use this to include or require any files in your application. |
7 | 7 | *
|
8 | 8 | * PHP versions 4 and 5
|
9 | 9 | *
|
10 |
| - * CakePHP(tm) : Rapid Development Framework (http://www.cakephp.org) |
11 |
| - * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) |
| 10 | + * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) |
| 11 | + * Copyright 2005-2008, Cake Software Foundation, Inc. (http://cakefoundation.org) |
12 | 12 | *
|
13 | 13 | * Licensed under The MIT License
|
14 | 14 | * Redistributions of files must retain the above copyright notice.
|
15 | 15 | *
|
16 |
| - * @filesource |
17 |
| - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org) |
18 |
| - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project |
| 16 | + * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. (http://cakefoundation.org) |
| 17 | + * @link http://cakephp.org CakePHP(tm) Project |
19 | 18 | * @package cake
|
20 | 19 | * @subpackage cake.app.config
|
21 | 20 | * @since CakePHP(tm) v 0.10.8.2117
|
22 |
| - * @version $Revision$ |
23 |
| - * @modifiedby $LastChangedBy$ |
24 |
| - * @lastmodified $Date$ |
25 | 21 | * @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
26 | 22 | */
|
27 | 23 | /**
|
| 24 | + * The settings below can be used to set additional paths to models, views and controllers. |
| 25 | + * This is related to Ticket #470 (https://trac.cakephp.org/ticket/470) |
28 | 26 | *
|
29 |
| - * This file is loaded automatically by the app/webroot/index.php file after the core bootstrap.php is loaded |
30 |
| - * This is an application wide file to load any function that is not used within a class define. |
31 |
| - * You can also use this to include or require any files in your application. |
| 27 | + * $modelPaths = array('/full/path/to/models/', '/next/full/path/to/models/'); |
| 28 | + * $viewPaths = array('/full/path/to/views/', '/next/full/path/to/views/'); |
| 29 | + * $controllerPaths = array(/full/path/to/controllers/', '/next/full/path/to/controllers/'); |
| 30 | + * $pluginPaths = array('/full/path/to/plugins/', '/next/full/path/to/plugins/'); |
| 31 | + * $behaviorPaths = array('/full/path/to/behaviors/', '/next/full/path/to/behaviors/'); |
| 32 | + * $componentPaths = array('/full/path/to/components/', '/next/full/path/to/components/'); |
| 33 | + * $helperPaths = array('/full/path/to/helpers/', '/next/full/path/to/helpers/'); |
| 34 | + * $vendorPaths = array('/full/path/to/vendors/', '/next/full/path/to/vendors/'); |
| 35 | + * $shellPaths = array('/full/path/to/shells/', '/next/full/path/to/shells/'); |
| 36 | + * $localePaths = array('/full/path/to/locale/', '/next/full/path/to/locale/'; |
32 | 37 | *
|
33 | 38 | */
|
34 | 39 | /**
|
35 |
| - * The settings below can be used to set additional paths to models, views and controllers. |
36 |
| - * This is related to Ticket #470 (https://trac.cakephp.org/ticket/470) |
| 40 | + * As of 1.3, additional rules for the inflector are added below |
37 | 41 | *
|
38 |
| - * $modelPaths = array('full path to models', 'second full path to models', 'etc...'); |
39 |
| - * $viewPaths = array('this path to views', 'second full path to views', 'etc...'); |
40 |
| - * $controllerPaths = array('this path to controllers', 'second full path to controllers', 'etc...'); |
| 42 | + * Inflector::rule('singular', array('rules' => array(), irregular' => array(), 'uninflected' => array())); |
| 43 | + * Inflector::rule('plural', array('rules' => array(), 'irregular' => array(), 'uninflected' => array())); |
41 | 44 | *
|
42 | 45 | */
|
43 |
| -//EOF |
44 |
| - |
45 |
| -// Inflector::rule('plural', array('rules' => array(), 'irregular' => array(), 'uninflected' => array())); |
46 |
| -// Inflector::rule('singular', array('rules' => array(), irregular' => array(), 'uninflected' => array())); |
47 |
| - |
48 | 46 | ?>
|
0 commit comments