From: paca70 Date: Thu, 20 Feb 2003 21:55:14 +0000 (+0000) Subject: Show creation option when available. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f9a14cc7206836875e274d63c677dbf83db5f6da;p=moodle.git Show creation option when available. --- diff --git a/admin/auth.php b/admin/auth.php index 8f605d2b3a..41d12ab612 100644 --- a/admin/auth.php +++ b/admin/auth.php @@ -2,7 +2,6 @@ // config.php - allows admin to edit all configuration variables include("../config.php"); - require_once("$CFG->dirroot/auth/$CFG->auth/lib.php"); //just to make sure that authentication functions are loaded require_login(); if (!$site = get_site()) { @@ -54,7 +53,7 @@ } else { $auth = $config->auth; } - + require_once("$CFG->dirroot/auth/$auth/lib.php"); //just to make sure that current authentication functions are loaded if (! isset($config->guestloginbutton)) { $config->guestloginbutton = 1; }