Ignore:
Timestamp:
Oct 30, 2004, 5:42:29 PM (19 years ago)
Author:
z0rglub
Message:
  • function mysql_query replaced by pwg_query : the same with debugging features
  • by default, DEBUG is set to 0 (off)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/configuration.php

    r555 r587  
    4242}
    4343//------------------------------------------------------ $conf reinitialization
    44 $result = mysql_query('SELECT param,value FROM '.CONFIG_TABLE);
     44$result = pwg_query('SELECT param,value FROM '.CONFIG_TABLE);
    4545while ($row = mysql_fetch_array($result))
    4646{
     
    126126  if (count($errors) == 0)
    127127  {
    128     $result = mysql_query('SELECT * FROM '.CONFIG_TABLE);
     128    $result = pwg_query('SELECT * FROM '.CONFIG_TABLE);
    129129    while ($row = mysql_fetch_array($result))
    130130    {
     
    136136  WHERE param = \''.$row['param'].'\'
    137137;';
    138         mysql_query($query);
     138        pwg_query($query);
    139139      }
    140140    }
Note: See TracChangeset for help on using the changeset viewer.