Fix per funzione base_path non trovata in fase di aggiornamento da versione < 2.4.19
This commit is contained in:
parent
53fd79fdfe
commit
fd056f768a
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in New Issue