Ignore:
Timestamp:
Nov 20, 2009, 3:17:04 PM (14 years ago)
Author:
nikrou
Message:

Feature 1244 resolved
Replace all mysql functions in core code by ones independant of database engine

Fix small php code synxtax : hash must be accessed with [ ] and not { }.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_upgrade.php

    r4280 r4325  
    113113  $result = pwg_query($query);
    114114  $plugins = array();
    115   while ($row = mysql_fetch_assoc($result))
     115  while ($row = pwg_db_fetch_assoc($result))
    116116  {
    117117    array_push($plugins, $row['id']);
     
    139139  if(!@get_magic_quotes_gpc())
    140140  {
    141     $username = mysql_real_escape_string($username);
     141    $username = pwg_db_real_escape_string($username);
    142142  }
    143143
     
    166166;';
    167167  }
    168   $row = mysql_fetch_assoc(pwg_query($query));
     168  $row = pwg_db_fetch_assoc(pwg_query($query));
    169169
    170170  if (!isset($conf['pass_convert']))
Note: See TracChangeset for help on using the changeset viewer.