Changeset 460 for trunk/index.php
- Timestamp:
- 09/01/2007 01:29:46 PM (15 months ago)
- Files:
-
- 1 modified
-
trunk/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r458 r460 36 36 define('SYSPATH', str_replace('\\', '/', realpath($kohana_system)).'/'); unset($kohana_system); 37 37 // Information about the front controller 38 define('KOHANA', pathinfo(__FILE__, PATHINFO_BASENAME)); 39 define('DOCROOT', pathinfo(__FILE__, PATHINFO_DIRNAME).'/'); 40 define('EXT', '.'.pathinfo(__FILE__, PATHINFO_EXTENSION)); 38 $docroot = str_replace('\\', '/', realpath(__FILE__)); 39 define('KOHANA', pathinfo($docroot, PATHINFO_BASENAME)); 40 define('DOCROOT', pathinfo($docroot, PATHINFO_DIRNAME).'/'); 41 define('EXT', '.'.pathinfo($docroot, PATHINFO_EXTENSION)); 42 unset($docroot); 41 43 // Validate APPPATH 42 44 (is_dir(APPPATH) AND is_dir(APPPATH.'/config')) or die
