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>
Sat, 14 Feb 2009 21:09:20 +0000 (16:09 -0500)
* includes/auth/auth.php:
(Authentication::_setupDatabase)

includes/auth/auth.php

index 34cfe83765f5d2c39718abfffdbc1221f19b667c..7142914888644cf6e6c177833f9162532c8afad8 100644 (file)
@@ -122,7 +122,7 @@ class Authentication
                // connect to the DB
                $this->authDb = new DB_MySQL($this->registry);
                
-               require_once 'includes/auth/config.php';
+               include 'includes/auth/config.php';
                $this->authDb->connect(
                        $config['auth']['dbServer'],
                        $config['auth']['dbUser'],