aboutsummaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2015-12-10 14:03:54 +0100
committerplegall <plg@piwigo.org>2015-12-10 14:03:54 +0100
commited8db3da2787d8068f18e0ddc806294f759b8010 (patch)
treeac5aedac9d475fa8130e058fd2e8412ac4368cb6 /install.php
parentfa10e0945ecd45bfe78a2c8fb015a43092b4944b (diff)
bug #385 compatibility with PHP7
* replace old-style constructor with PHP5-style constructor (__construct) * do not call set_magic_quotes_runtime() any longer * avoid automatic conversion from array to string
Diffstat (limited to 'install.php')
-rw-r--r--install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php
index 4933dc218..269b9830b 100644
--- a/install.php
+++ b/install.php
@@ -24,7 +24,7 @@
//----------------------------------------------------------- include
define('PHPWG_ROOT_PATH','./');
-@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.
@@ -529,4 +529,4 @@ if (count($infos) != 0 )
//----------------------------------------------------------- html code display
$template->pparse('install');
-?> \ No newline at end of file
+?>