mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
fixes #2220 change scope of function get_resize_result
also changed the required php version to 7.1.0
This commit is contained in:
@@ -350,7 +350,7 @@ class pwg_image
|
||||
return $matrix;
|
||||
}
|
||||
|
||||
private function get_resize_result($destination_filepath, $width, $height, $time=null)
|
||||
protected function get_resize_result($destination_filepath, $width, $height, $time=null)
|
||||
{
|
||||
return array(
|
||||
'source' => $this->source_filepath,
|
||||
|
||||
@@ -20,7 +20,7 @@ defined('PWG_COMBINED_DIR') or define('PWG_COMBINED_DIR', $conf['data_location']
|
||||
defined('PWG_DERIVATIVE_DIR') or define('PWG_DERIVATIVE_DIR', $conf['data_location'].'i/');
|
||||
|
||||
// Required versions
|
||||
define('REQUIRED_PHP_VERSION', '7.0.0');
|
||||
define('REQUIRED_PHP_VERSION', '7.1.0');
|
||||
|
||||
// Access codes
|
||||
define('ACCESS_FREE', 0);
|
||||
|
||||
Reference in New Issue
Block a user