Ejemplo n.º 1
0
  You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  ------------------------------------------------------------------------
 */
class dbConfig
{
    private static $setup;
    static $loaded;
    static function load($l = "conf.php")
    {
        DbConfig::$loaded = 1;
        try {
            if (file_exists($l)) {
                require_once $l;
                DbConfig::$loaded = 2;
                if (isset($configuration) && is_array($configuration)) {
                    DbConfig::$setup = $configuration;