Fix chemin dans installation+upgrade
This commit is contained in:
parent
e0e26d1576
commit
7f0332a730
@ -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"
|
@ -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);
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user