Config par défaut dans config.json et non install.php
This commit is contained in:
parent
0a00c207ae
commit
637c493671
2 changed files with 3 additions and 9 deletions
|
|
@ -6,13 +6,5 @@ $db = DB::getInstance();
|
|||
|
||||
$db->import(dirname(__FILE__) . "/data/schema.sql");
|
||||
|
||||
$plugin->setConfig('footer', "[EXEMPLE]\n".
|
||||
"Association exonérée des impôts commerciaux\n".
|
||||
"En cas de retard de paiement, indemnité forfaitaire légale pour frais de recouvrement : 40,00 €\n".
|
||||
"[Coordonnées bancaires]\n".
|
||||
"Association enregistrée en préfecture de XXX au numéro YYY"
|
||||
);
|
||||
$plugin->setConfig('validate_cp', true);
|
||||
|
||||
$path = __DIR__.'/data/default_sign.png';
|
||||
$png = (new File)->createAndStore('skel/plugin/facturation','sign.png', $path, null);
|
||||
Loading…
Add table
Add a link
Reference in a new issue