facturation/install.php

10 lines
268 B
PHP
Raw Normal View History

2019-11-02 17:53:27 +01:00
<?php
namespace Garradin;
2021-11-24 23:44:46 +01:00
use Garradin\Entities\Files\File;
2019-11-02 17:53:27 +01:00
$db = DB::getInstance();
2019-11-03 17:51:31 +01:00
$db->import(dirname(__FILE__) . "/data/schema.sql");
2019-11-02 17:53:27 +01:00
2021-11-25 15:11:06 +01:00
$path = __DIR__.'/data/default_sign.png';
2021-11-24 23:44:46 +01:00
$png = (new File)->createAndStore('skel/plugin/facturation','sign.png', $path, null);