Loading htdocs/init.php +4 −5 Original line number Diff line number Diff line Loading @@ -190,11 +190,6 @@ catch (SQLException $e) { db_ignore_sql_exceptions(false); } // Start up a session object, in case we need to use it to print messages require_once('auth/session.php'); $SESSION = Session::singleton(); // Make sure wwwroot is set and available, either in the database or in the // config file. Cron requires it when sending out forums emails. if (!isset($CFG->wwwroot) && isset($_SERVER['HTTP_HOST'])) { Loading Loading @@ -249,6 +244,10 @@ if (isset($CFG->wwwroot)) { } } // Start up a session object, in case we need to use it to print messages require_once('auth/session.php'); $SESSION = Session::singleton(); // If we have cleanurl subdomains turned on, we need to set cookiedomain // to ensure cookies are given back to us in all subdomains if (isset($CFG->cleanurls) && isset($CFG->cleanurlusersubdomains) && !isset($CFG->cookiedomain)) { Loading Loading
htdocs/init.php +4 −5 Original line number Diff line number Diff line Loading @@ -190,11 +190,6 @@ catch (SQLException $e) { db_ignore_sql_exceptions(false); } // Start up a session object, in case we need to use it to print messages require_once('auth/session.php'); $SESSION = Session::singleton(); // Make sure wwwroot is set and available, either in the database or in the // config file. Cron requires it when sending out forums emails. if (!isset($CFG->wwwroot) && isset($_SERVER['HTTP_HOST'])) { Loading Loading @@ -249,6 +244,10 @@ if (isset($CFG->wwwroot)) { } } // Start up a session object, in case we need to use it to print messages require_once('auth/session.php'); $SESSION = Session::singleton(); // If we have cleanurl subdomains turned on, we need to set cookiedomain // to ensure cookies are given back to us in all subdomains if (isset($CFG->cleanurls) && isset($CFG->cleanurlusersubdomains) && !isset($CFG->cookiedomain)) { Loading