Ajout appel fonction upgrade
This commit is contained in:
parent
9de9e10987
commit
cff7b57a41
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue