Changeset 549 for trunk/admin/common.php

Show
Ignore:
Timestamp:
04/06/2008 03:06:11 PM (8 months ago)
Author:
moo
Message:

check get_magic_quotes_gpc which is deprecated

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/admin/common.php

    r526 r549  
    9292define('REQUEST_TIME', time()); 
    9393 
    94 if (get_magic_quotes_gpc()) { 
     94if (function_exists('get_magic_quotes_gpc') && @get_magic_quotes_gpc()) { 
    9595    $mqs = (bool) ini_get('magic_quotes_sybase'); 
    9696    $_GET = stripaddslashes_array($_GET, $mqs);