3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
6 * Licensed under The MIT License
7 * Redistributions of files must retain the above copyright notice.
9 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
10 * @link http://cakephp.org CakePHP(tm) Project
12 * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
16 * Use the DS to separate the directories in other defines
19 define('DS', DIRECTORY_SEPARATOR);
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.
29 * The full path to the directory which holds "App", WITHOUT a trailing DS.
31 define('ROOT', dirname(__DIR__));
34 * The actual directory name for the "App".
36 define('APP_DIR', 'src');
39 * Path to the application's directory.
41 define('APP', ROOT . DS . APP_DIR . DS);
44 * Path to the config directory.
46 define('CONFIG', ROOT . DS . 'config' . DS);
49 * File path to the webroot directory.
51 define('WWW_ROOT', ROOT . DS . 'webroot' . DS);
54 * Path to the tests directory.
56 define('TESTS', ROOT . DS . 'tests' . DS);
59 * Path to the temporary files directory.
61 define('TMP', ROOT . DS . 'tmp' . DS);
64 * Path to the logs directory.
66 define('LOGS', ROOT . DS . 'logs' . DS);
69 * Path to the cache files directory. It can be shared between hosts in a multi-server setup.
71 define('CACHE', TMP . 'cache' . DS);
74 * The absolute path to the "cake" directory, WITHOUT a trailing DS.
76 * CakePHP should always be installed with composer, so look there.
78 define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'vendor' . DS . 'cakephp' . DS . 'cakephp');
81 * Path to the cake directory.
83 define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS);
84 define('CAKE', CORE_PATH . 'src' . DS);