mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +02:00
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
This commit is contained in:
@@ -212,7 +212,7 @@
|
||||
// Note that no real action is taken, if the archive does not exist it is not
|
||||
// created. Use create() for that.
|
||||
// --------------------------------------------------------------------------------
|
||||
function PclZip($p_zipname)
|
||||
function __construct($p_zipname)
|
||||
{
|
||||
|
||||
// ----- Tests the zlib
|
||||
|
||||
Reference in New Issue
Block a user