Fix chemin dans installation+upgrade

This commit is contained in:
Noizette 2021-11-25 15:11:06 +01:00
parent e0e26d1576
commit 7f0332a730
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ nom="Facturation"
description="Permet d'éditer des factures, devis et reçus à ses membres ainsi qu'à une base de clients supplémentaire."
auteur="zou"
url="https://gitlab.com/ramoloss/garradin-plugin-facturation/"
version="0.6.0"
version="0.6.1"
menu=1
config=1
min_version="1.1.0"

View File

@ -14,5 +14,5 @@ $plugin->setConfig('footer', "[EXEMPLE]\n".
);
$plugin->setConfig('validate_cp', true);
$path = PLUGIN_ROOT.'/data/default_sign.png';
$path = __DIR__.'/data/default_sign.png';
$png = (new File)->createAndStore('skel/plugin/facturation','sign.png', $path, null);

View File

@ -138,7 +138,7 @@ EOT
unset($contenu);
}
$path = PLUGIN_ROOT.'/data/default_sign.png';
$path = __DIR__.'/data/default_sign.png';
$png = (new File)->createAndStore('skel/plugin/facturation','sign.png', $path, null);
}
}