Corretto il calcolo della directory per gli aggiornamenti del core
This commit is contained in:
parent
2860ea2f15
commit
ef8e533410
|
@ -105,7 +105,7 @@ class Update
|
|||
$version = str_replace('_', '.', $infos['filename']);
|
||||
|
||||
if (array_search($version, $previous) === false && self::isVersion($version)) {
|
||||
$path = ltrim($infos['dirname'].'/'.$infos['filename'], DOCROOT);
|
||||
$path = str_replace(DOCROOT, '', $infos['dirname'].'/'.$infos['filename']);
|
||||
$path = ltrim($path, '/');
|
||||
|
||||
$results[] = [
|
||||
|
|
Loading…
Reference in New Issue