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 "src", WITHOUT a trailing DS.
31 define('ROOT', dirname(__DIR__));
34 * The actual directory name for the application directory. Normally
37 define('APP_DIR', 'src');
40 * Path to the application's directory.
42 define('APP', ROOT . DS . APP_DIR . DS);
45 * Path to the config directory.
47 define('CONFIG', ROOT . DS . 'config' . DS);
50 * File path to the webroot directory.
52 define('WWW_ROOT', ROOT . DS . 'webroot' . DS);
55 * Path to the tests directory.
57 define('TESTS', ROOT . DS . 'tests' . DS);
60 * Path to the temporary files directory.
62 define('TMP', ROOT . DS . 'tmp' . DS);
65 * Path to the logs directory.
67 define('LOGS', ROOT . DS . 'logs' . DS);
70 * Path to the cache files directory. It can be shared between hosts in a multi-server setup.
72 define('CACHE', TMP . 'cache' . DS);
75 * The absolute path to the "cake" directory, WITHOUT a trailing DS.
77 * CakePHP should always be installed with composer, so look there.
79 define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'vendor' . DS . 'cakephp' . DS . 'cakephp');
82 * Path to the cake directory.
84 define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS);
85 define('CAKE', CORE_PATH . 'src' . DS);