OSDN Git Service

camephp
[umumu/umumu.git] / config / paths.php
1 <?php
2 /**
3  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
4  * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
5  *
6  * Licensed under The MIT License
7  * Redistributions of files must retain the above copyright notice.
8  *
9  * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
10  * @link          http://cakephp.org CakePHP(tm) Project
11  * @since         3.0.0
12  * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
13  */
14
15 /**
16  * Use the DS to separate the directories in other defines
17  */
18 if (!defined('DS')) {
19     define('DS', DIRECTORY_SEPARATOR);
20 }
21
22 /**
23  * These defines should only be edited if you have cake installed in
24  * a directory layout other than the way it is distributed.
25  * When using custom settings be sure to use the DS and do not add a trailing DS.
26  */
27
28 /**
29  * The full path to the directory which holds "App", WITHOUT a trailing DS.
30  */
31 define('ROOT', dirname(__DIR__));
32
33 /**
34  * The actual directory name for the "App".
35  */
36 define('APP_DIR', 'src');
37
38 /**
39  * Path to the application's directory.
40  */
41 define('APP', ROOT . DS . APP_DIR . DS);
42
43 /**
44  * Path to the config directory.
45  */
46 define('CONFIG', ROOT . DS . 'config' . DS);
47
48 /**
49  * File path to the webroot directory.
50  */
51 define('WWW_ROOT', ROOT . DS . 'webroot' . DS);
52
53 /**
54  * Path to the tests directory.
55  */
56 define('TESTS', ROOT . DS . 'tests' . DS);
57
58 /**
59  * Path to the temporary files directory.
60  */
61 define('TMP', ROOT . DS . 'tmp' . DS);
62
63 /**
64  * Path to the logs directory.
65  */
66 define('LOGS', ROOT . DS . 'logs' . DS);
67
68 /**
69  * Path to the cache files directory. It can be shared between hosts in a multi-server setup.
70  */
71 define('CACHE', TMP . 'cache' . DS);
72
73 /**
74  * The absolute path to the "cake" directory, WITHOUT a trailing DS.
75  *
76  * CakePHP should always be installed with composer, so look there.
77  */
78 define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'vendor' . DS . 'cakephp' . DS . 'cakephp');
79
80 /**
81  * Path to the cake directory.
82  */
83 define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS);
84 define('CAKE', CORE_PATH . 'src' . DS);