Ignore:
Timestamp:
Oct 9, 2009, 4:38:54 PM (15 years ago)
Author:
patdenice
Message:

set_magic_quote_runtime and get_magic_quote_gpc are depreciated and can produce notices from PHP 5.3.
Add a @ to avoid this notices.
This functions need to be removed with PHP 6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/install.php

    r3714 r4005  
    7373}
    7474
    75 set_magic_quotes_runtime(0); // Disable magic_quotes_runtime
     75@set_magic_quotes_runtime(0); // Disable magic_quotes_runtime
    7676//
    7777// addslashes to vars if magic_quotes_gpc is off this is a security
    7878// precaution to prevent someone trying to break out of a SQL statement.
    7979//
    80 if( !get_magic_quotes_gpc() )
     80if( !@get_magic_quotes_gpc() )
    8181{
    8282  if( is_array($_POST) )
Note: See TracChangeset for help on using the changeset viewer.