fixed errors in update manager open
This commit is contained in:
parent
2d8697eaeb
commit
e875ce9b4e
|
@ -624,8 +624,8 @@ function update_manager_extract_package() {
|
||||||
|
|
||||||
$extracted = false;
|
$extracted = false;
|
||||||
|
|
||||||
// Phar and exception working fine in 5.5.0 or higher
|
// Phar and exception working fine in 5.6.0 or higher
|
||||||
if (PHP_VERSION_ID >= 50505) {
|
if (PHP_VERSION_ID >= 50600) {
|
||||||
$phar = new PharData($path_package);
|
$phar = new PharData($path_package);
|
||||||
try {
|
try {
|
||||||
$result = $phar->extractTo($config['attachment_store'] . "/downloads/",null, true);
|
$result = $phar->extractTo($config['attachment_store'] . "/downloads/",null, true);
|
||||||
|
|
Loading…
Reference in New Issue