Permalink
Browse files

Minor code formatting

  • Loading branch information...
1 parent 1ab46f0 commit 6c97e25d5e55dca69812d43cfe3e7c7f0241feb9 Miodrag Tokić committed Apr 15, 2012
Showing with 9 additions and 3 deletions.
  1. +9 −3 index.php
View
@@ -56,17 +56,23 @@
// Set the full path to the docroot
define('DOCROOT', realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR);
-// Make the application relative to the docroot, for symlink'd index.php
if ( ! is_dir($application) AND is_dir(DOCROOT.$application))
+{
+ // Make the application relative to the docroot
$application = DOCROOT.$application;
+}
-// Make the modules relative to the docroot, for symlink'd index.php
if ( ! is_dir($modules) AND is_dir(DOCROOT.$modules))
+{
+ // Make the modules relative to the docroot
$modules = DOCROOT.$modules;
+}
-// Make the system relative to the docroot, for symlink'd index.php
if ( ! is_dir($system) AND is_dir(DOCROOT.$system))
+{
+ // Make the system relative to the docroot
$system = DOCROOT.$system;
+}
// Define the absolute paths for configured directories
define('APPPATH', realpath($application).DIRECTORY_SEPARATOR);

0 comments on commit 6c97e25

Please sign in to comment.