]> git.mjollnir.org Git - moodle.git/commitdiff
Show creation option when available.
authorpaca70 <paca70>
Thu, 20 Feb 2003 21:55:14 +0000 (21:55 +0000)
committerpaca70 <paca70>
Thu, 20 Feb 2003 21:55:14 +0000 (21:55 +0000)
admin/auth.php

index 8f605d2b3ae471a445b8fe06e5d5a226db4e3f29..41d12ab61226d1bed3376c63a865e89a50ae9cc9 100644 (file)
@@ -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;
     }