Use include() rather than require_once() in Authentication::_setupDatabase()
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 14 Feb 2009 21:09:20 +0000 (16:09 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 19 Mar 2009 20:10:20 +0000 (16:10 -0400)
* includes/auth/auth.php:
(Authentication::_setupDatabase)

includes/auth/auth.php

index dfbac46f338f0ca0afedeaf13002b16a8b359a05..8e6b2235325fb8bf8017f92202141e58cdc0a975 100644 (file)
@@ -113,7 +113,7 @@ class Authentication
                // connect to the DB
                $this->authDb = new BSDBMySQLI();
                
-               require_once 'includes/auth/config.php';
+               include 'includes/auth/config.php';
                $this->authDb->connect(
                        $config['auth']['dbServer'],
                        $config['auth']['dbUser'],