Correction erreurs, sécurisation code, personnalisation présentation (Jordan)
This commit is contained in:
parent
717fc5320f
commit
fffbfcac93
19 changed files with 822 additions and 471 deletions
|
|
@ -1,8 +1,13 @@
|
|||
<?php
|
||||
namespace Paheko;
|
||||
use Paheko\Entities\Files\File;
|
||||
use Paheko\Plugin\Facturation\Facture;
|
||||
|
||||
$db = DB::getInstance();
|
||||
|
||||
$db->import(dirname(__FILE__) . "/data/schema.sql");
|
||||
|
||||
$default_config = json_decode(file_get_contents(__DIR__ . '/config.json'));
|
||||
|
||||
if ($default_config instanceof \stdClass) {
|
||||
$plugin->setConfig($default_config);
|
||||
$plugin->save();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue