Update for last autloading changes in registry
authorDuck (Jakob Munih) <duck@obala.net>
Thu, 2 Jul 2009 09:38:38 +0000 (11:38 +0200)
committerDuck (Jakob Munih) <duck@obala.net>
Thu, 2 Jul 2009 09:38:38 +0000 (11:38 +0200)
folks/lib/Auth/folks.php

index a32f32d..630cb06 100644 (file)
@@ -1,7 +1,4 @@
 <?php
-
-require_once dirname(__FILE__) . '/application.php';
-
 /**
  * The Auth_folks class provides a sql implementation of the Horde
  * authentication system with use of folks app
@@ -95,7 +92,7 @@ class Auth_folks extends Auth_application {
         $password = Auth::genRandomPassword();
 
         /* Process. */
-        $fileroot = $GLOBALS['registry']->get('webroot', 'folks');
+        $fileroot = $GLOBALS['registry']->get('fileroot', 'folks');
         if ($fileroot instanceof PEAR_Error) {
             return $fileroot;
         }