mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-10 07:14:59 +02:00
bug #385 __construct for PHP 7 compatibility
This commit is contained in:
@@ -59,7 +59,7 @@ class MySQLDump {
|
||||
* @param boolean $compress It defines if the output file is compress (gzip) or not
|
||||
* @param boolean $hexValue It defines if the outup values are base-16 or not
|
||||
*/
|
||||
function MYSQLDump($db = null, $filepath = 'dump.sql', $compress = false, $hexValue = false){
|
||||
function __construct($db = null, $filepath = 'dump.sql', $compress = false, $hexValue = false){
|
||||
$this->compress = $compress;
|
||||
if ( !$this->setOutputFile($filepath) )
|
||||
return false;
|
||||
@@ -418,4 +418,4 @@ class MySQLDump {
|
||||
@fclose($file);
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -33,7 +33,7 @@ class PwgXmlWriter
|
||||
|
||||
var $_encodedXml;
|
||||
|
||||
function PwgXmlWriter()
|
||||
function __construct()
|
||||
{
|
||||
$this->_elementStack = array();
|
||||
$this->_lastTagOpen = false;
|
||||
|
||||
Reference in New Issue
Block a user