Remplacement PLUGIN_URL ; ajout session_start()

FossilOrigin-Name: 7fad3fa0b91ae127517c4e9d9a62a316280e17c561855a6abde8711e3cac72f2
This commit is contained in:
engel 2023-11-10 11:31:18 +00:00
parent b53f089c87
commit 8091c8b87d
9 changed files with 19 additions and 9 deletions

View file

@ -11,7 +11,7 @@ if (! isset($_SESSION['taux_reduction'])
&&
null === $taux)
{
\Paheko\Utils::redirect(PLUGIN_URL . 'index.php');
\Paheko\Utils::redirect(\Paheko\Utils::plugin_url() . 'index.php');
}
if (null !== $taux) {
$_SESSION['taux_reduction'] = $taux;