Changeset 2170
- Timestamp:
- 02/25/2008 08:20:01 PM (9 months ago)
- Files:
-
- 1 modified
-
trunk/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r2005 r2170 70 70 // Define the front controller name and docroot 71 71 define('DOCROOT', getcwd().DIRECTORY_SEPARATOR); 72 define('KOHANA', substr(__FILE__, strlen(DOCROOT))); 72 define('KOHANA', basename(__FILE__)); 73 74 // If the front controller is a symlink, change to the real docroot 75 is_link(KOHANA) and chdir(dirname(realpath(__FILE__))); 73 76 74 77 // Define application and system paths
