Remplacement PLUGIN_URL ; ajout session_start()
FossilOrigin-Name: 7fad3fa0b91ae127517c4e9d9a62a316280e17c561855a6abde8711e3cac72f2
This commit is contained in:
parent
b53f089c87
commit
8091c8b87d
9 changed files with 19 additions and 9 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace Paheko;
|
||||
session_start();
|
||||
|
||||
use Paheko\Plugin\RecusFiscaux\Utils;
|
||||
|
||||
|
|
@ -67,6 +68,7 @@ $tpl->assign('plugin_config', $plugin->getConfig());
|
|||
$tpl->assign('nbTaux', $nbTaux);
|
||||
$tpl->assign('nbChamps', $nbChamps);
|
||||
$tpl->assign('plugin_css', ['style.css']);
|
||||
$tpl->assign('plugin_url', \Paheko\Utils::plugin_url());
|
||||
|
||||
// envoyer au template
|
||||
$tpl->display(PLUGIN_ROOT . '/templates/index.tpl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue