// ALL DONE! To continue installation, visit your main page with a browser\r
//=========================================================================\r
\r
-if (! @include_once("$CFG->dirroot/lib/setup.php")) { // Do not edit\r
+if (file_exists("$CFG->dirroot/lib/setup.php")) { // Do not edit\r
+ include_once("$CFG->dirroot/lib/setup.php");\r
+} else {\r
if ($CFG->dirroot == dirname(__FILE__)) {\r
echo "<p>Could not find this file: $CFG->dirroot/lib/setup.php</p>";\r
echo "<p>Are you sure all your files have been uploaded?</p>";\r
die;\r
}\r
\r
+\r
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES, \r
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.\r
?>\r