diff --git a/app/webroot/test.php b/app/webroot/test.php index 8c4f14966..39bea7a91 100644 --- a/app/webroot/test.php +++ b/app/webroot/test.php @@ -21,9 +21,9 @@ ini_set('display_errors', 1); /** * Use the DS to separate the directories in other defines */ - if (!defined('DS')) { - define('DS', DIRECTORY_SEPARATOR); - } +if (!defined('DS')) { + define('DS', DIRECTORY_SEPARATOR); +} /** * These defines should only be edited if you have cake installed in * a directory layout other than the way it is distributed. @@ -34,16 +34,16 @@ ini_set('display_errors', 1); * The full path to the directory which holds "app", WITHOUT a trailing DS. * */ - if (!defined('ROOT')) { - define('ROOT', dirname(dirname(dirname(__FILE__)))); - } +if (!defined('ROOT')) { + define('ROOT', dirname(dirname(dirname(__FILE__)))); +} /** * The actual directory name for the "app". * */ - if (!defined('APP_DIR')) { - define('APP_DIR', basename(dirname(dirname(__FILE__)))); - } +if (!defined('APP_DIR')) { + define('APP_DIR', basename(dirname(dirname(__FILE__)))); +} /** * The absolute path to the "Cake" directory, WITHOUT a trailing DS. @@ -71,11 +71,11 @@ if (!defined('CAKE_CORE_INCLUDE_PATH')) { if (function_exists('ini_set')) { ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path')); } - if (!include('Cake' . DS . 'bootstrap.php')) { + if (!include ('Cake' . DS . 'bootstrap.php')) { $failed = true; } } else { - if (!include(CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php')) { + if (!include (CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'bootstrap.php')) { $failed = true; } }