Permalink
Browse files

Removed leading indentation to fix coding standards in /index.php

  • Loading branch information...
predominant committed Apr 30, 2012
1 parent 7f04fbd commit ef7e1b6c6cf4f23d82e771ab575d0114be01e46b
Showing with 11 additions and 9 deletions.
  1. +11 −9 index.php
View
@@ -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';

0 comments on commit ef7e1b6

Please sign in to comment.