Merge branch '1185-Bug_Update_Manager_Online_Pandora_7_Open' into 'develop'
fixed errors in update manager open See merge request !714
This commit is contained in:
commit
6920831d60
|
@ -624,8 +624,8 @@ function update_manager_extract_package() {
|
|||
|
||||
$extracted = false;
|
||||
|
||||
// Phar and exception working fine in 5.5.0 or higher
|
||||
if (PHP_VERSION_ID >= 50505) {
|
||||
// Phar and exception working fine in 5.6.0 or higher
|
||||
if (PHP_VERSION_ID >= 50600) {
|
||||
$phar = new PharData($path_package);
|
||||
try {
|
||||
$result = $phar->extractTo($config['attachment_store'] . "/downloads/",null, true);
|
||||
|
|
Loading…
Reference in New Issue