From fb6139a67ac99fd645cf45da27eba14b3f39d123 Mon Sep 17 00:00:00 2001 From: Jeremy Bush Date: Thu, 10 Feb 2011 10:10:33 -0600 Subject: [PATCH] Updating comment for symlinkd index.php behavior --- index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index bc629d8..71c3249 100644 --- a/index.php +++ b/index.php @@ -56,15 +56,15 @@ error_reporting(E_ALL | E_STRICT); // Set the full path to the docroot define('DOCROOT', realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR); -// Make the application relative to the docroot +// Make the application relative to the docroot, for symlink'd index.php if ( ! is_dir($application) AND is_dir(DOCROOT.$application)) $application = DOCROOT.$application; -// Make the modules relative to the docroot +// Make the modules relative to the docroot, for symlink'd index.php if ( ! is_dir($modules) AND is_dir(DOCROOT.$modules)) $modules = DOCROOT.$modules; -// Make the system relative to the docroot +// Make the system relative to the docroot, for symlink'd index.php if ( ! is_dir($system) AND is_dir(DOCROOT.$system)) $system = DOCROOT.$system;