Commit bb9482d2 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove current directory from include path

parent 6fb51c2a
......@@ -36,7 +36,7 @@ if (!empty($_SERVER['MAHARA_LIBDIR'])) {
else {
$CFG->libroot = dirname(__FILE__) . '/lib/';
}
set_include_path('.' . PATH_SEPARATOR . $CFG->libroot . PATH_SEPARATOR . $CFG->libroot . 'pear/');
set_include_path($CFG->libroot . PATH_SEPARATOR . $CFG->libroot . 'pear/');
// Set up error handling
require('errors.php');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment