mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removed leading indentation to fix coding standards in /index.php
This commit is contained in:
parent
7f04fbd7dc
commit
ef7e1b6c6c
1 changed files with 11 additions and 9 deletions
20
index.php
20
index.php
|
@ -20,21 +20,23 @@
|
|||
* @since CakePHP(tm) v 0.2.9
|
||||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
||||
/**
|
||||
* Get Cake's root directory
|
||||
*/
|
||||
define('APP_DIR', 'app');
|
||||
define('DS', DIRECTORY_SEPARATOR);
|
||||
define('ROOT', dirname(__FILE__));
|
||||
define('WEBROOT_DIR', 'webroot');
|
||||
define('WWW_ROOT', ROOT . DS . APP_DIR . DS . WEBROOT_DIR . DS);
|
||||
define('APP_DIR', 'app');
|
||||
define('DS', DIRECTORY_SEPARATOR);
|
||||
define('ROOT', dirname(__FILE__));
|
||||
define('WEBROOT_DIR', 'webroot');
|
||||
define('WWW_ROOT', ROOT . DS . APP_DIR . DS . WEBROOT_DIR . DS);
|
||||
|
||||
/**
|
||||
* This only needs to be changed if the "cake" directory is located
|
||||
* outside of the distributed structure.
|
||||
* Full path to the directory containing "cake". Do not add trailing directory separator
|
||||
*/
|
||||
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
|
||||
define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'lib');
|
||||
}
|
||||
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
|
||||
define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'lib');
|
||||
}
|
||||
|
||||
require APP_DIR . DS . WEBROOT_DIR . DS . 'index.php';
|
||||
require APP_DIR . DS . WEBROOT_DIR . DS . 'index.php';
|
||||
|
|
Loading…
Reference in a new issue