forget the updates to this file
parent
2a45506bff
commit
09fbdc9e35
|
@ -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'] );
|
||||
|
|
Loading…
Reference in New Issue