Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating comment for symlinkd index.php behavior

  • Loading branch information...
commit fb6139a67ac99fd645cf45da27eba14b3f39d123 1 parent 64e65e4
@zombor zombor authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 index.php
View
6 index.php
@@ -56,15 +56,15 @@
// 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;
Please sign in to comment.
Something went wrong with that request. Please try again.