mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03: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:
parent
ce3214df1d
commit
3133552405
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue