fixes #2220 change scope of function get_resize_result

also changed the required php version to 7.1.0
This commit is contained in:
Linty 2024-09-02 18:23:52 +02:00
parent ce3214df1d
commit 3133552405
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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);