Changeset 424
- Timestamp:
- 07/03/06 11:42:46 (2 years ago)
- Files:
-
- devel/includes.php (modified) (1 diff)
- devel/sanitychecks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/includes.php
r419 r424 5 5 // All installation specific parameters should be in a file 6 6 // that is not part of the standard distribution. 7 if (!file_exists(dirname(__FILE__)."/config.php")) { 8 die('Elgg configuration error: config.php is missing. Please see INSTALL file.'); 9 } 7 10 require_once(dirname(__FILE__)."/config.php"); 8 11 devel/sanitychecks.php
r419 r424 11 11 } elseif (substr($CFG->dirroot, -1) != "/") { 12 12 $diemessages[] = 'Configuration problem: The <code>$CFG->dirroot</code> setting in config.php must end with a forward slash (/).'; 13 } elseif (!file_exists($CFG->dirroot)) { 14 //this needs checking now, because includes.php needs it to work 15 $diemessages[] = 'Configuration problem: The <code>$CFG->dirroot</code> setting in config.php points to a directory that does not exist.'; 16 } elseif (!is_dir($CFG->dirroot)) { 17 $diemessages[] = 'Configuration problem: The <code>$CFG->dirroot</code> setting in config.php points to a location that is not a directory.'; 13 18 } 14 19
