From 7f04fbd7dc506aa93d25b2849b48eb696fdd1eb9 Mon Sep 17 00:00:00 2001 From: Graham Weldon Date: Tue, 1 May 2012 09:40:16 +1000 Subject: [PATCH] Minor spacing changes to fix coding standards in webroot/test.php in app/ --- app/webroot/test.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/webroot/test.php b/app/webroot/test.php index 8c4f1496670..39bea7a9114 100644 --- a/app/webroot/test.php +++ b/app/webroot/test.php @@ -21,9 +21,9 @@ /** * 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 @@ * 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 (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; } }