Fix per funzione base_path non trovata in fase di aggiornamento da versione < 2.4.19

This commit is contained in:
Luca 2020-11-23 18:28:45 +01:00
parent 53fd79fdfe
commit fd056f768a
1 changed files with 8 additions and 0 deletions

View File

@ -84,6 +84,14 @@ if (!function_exists('base_path')) {
}
}
if (!function_exists('base_dir')) {
function base_dir()
{
return DOCROOT;
}
}
// Aggiornamenti
if (setting('Attiva aggiornamenti')) {
$alerts = [];