From bac7567b5c5a994642cede7fd0c4298e0b2d2389 Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 17 Aug 2009 16:21:09 +0000 Subject: PHP 5.3 compatibility - Deprecated functions were replace as follows : ereg() -> preg_match() ereg_replace() -> preg_replace() eregi() -> preg_match() with the 'i' modifier eregi_replace() -> preg_replace() with the 'i' modifier set_magic_quotes_runtime() -> No more usefull. Fixed it by adding "@" prefix. git-svn-id: http://piwigo.org/svn/trunk@3747 68402e56-0260-453c-a942-63ccdbb3a9ee --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.php') diff --git a/install.php b/install.php index daf521913..95ed6347e 100644 --- a/install.php +++ b/install.php @@ -72,7 +72,7 @@ function execute_sqlfile($filepath, $replaced, $replacing) } } -set_magic_quotes_runtime(0); // Disable magic_quotes_runtime +@set_magic_quotes_runtime(0); // Disable magic_quotes_runtime // // 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. -- cgit v1.2.3