aboutsummaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2009-10-09 14:41:30 +0000
committerpatdenice <patdenice@piwigo.org>2009-10-09 14:41:30 +0000
commitf83b8815c69383e9318e218fadcb14c59a1a0c6d (patch)
tree9c77d445821a8a92951a50c910b69821449454f1 /install.php
parentf28bfd6bae64e8c06700cdbc9058653c7efbf1d4 (diff)
merge r4005 from branch 2.0 to trunk
bug 1187: 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 git-svn-id: http://piwigo.org/svn/trunk@4006 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php
index 95ed6347e..feefc5085 100644
--- a/install.php
+++ b/install.php
@@ -77,7 +77,7 @@ function execute_sqlfile($filepath, $replaced, $replacing)
// addslashes to vars if magic_quotes_gpc is off this is a security
// precaution to prevent someone trying to break out of a SQL statement.
//
-if( !get_magic_quotes_gpc() )
+if( !@get_magic_quotes_gpc() )
{
if( is_array($_POST) )
{