Ajout appel fonction upgrade

This commit is contained in:
Jean-Christophe Engel 2023-11-03 14:53:50 +01:00
parent 9de9e10987
commit cff7b57a41

View File

@ -2,6 +2,9 @@
namespace Paheko; namespace Paheko;
if ($plugin->needUpgrade()) {
$plugin->upgrade();
}
require_once __DIR__ . '/_inc.php'; require_once __DIR__ . '/_inc.php';
$session->requireAccess($session::SECTION_ACCOUNTING, $session::ACCESS_READ); $session->requireAccess($session::SECTION_ACCOUNTING, $session::ACCESS_READ);