forget the updates to this file

pull/236/head
Isaac Connor 2013-10-17 16:57:05 -04:00
parent 2a45506bff
commit 09fbdc9e35
1 changed files with 3 additions and 3 deletions

View File

@ -145,16 +145,16 @@ function loadConfig( $defineConsts=true )
{
global $config;
global $configCats;
global $dbConn;
$config = array();
$configCat = array();
$sql = "select * from Config order by Id asc";
$result = mysql_query( $sql );
$result = $dbConn->query( 'select * from Config order by Id asc' );
if ( !$result )
echo mysql_error();
$monitors = array();
while( $row = mysql_fetch_assoc( $result ) )
while( $row = dbFetchNext( $result ) )
{
if ( $defineConsts )
define( $row['Name'], $row['Value'] );