summaryrefslogtreecommitdiff
path: root/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'config.php')
-rw-r--r--config.php57
1 files changed, 40 insertions, 17 deletions
diff --git a/config.php b/config.php
index c34309d..754a887 100644
--- a/config.php
+++ b/config.php
@@ -6,14 +6,32 @@
6 6
7$business_name = 'ORDIPOLO'; 7$business_name = 'ORDIPOLO';
8 8
9// $receipts = '~/ORDIPOLO/Applis_PHP/LaTeX/'; 9// $db_name = "ordipolo";
10$db_name = "ordipolo";
11
12// défaut = racine de l'appli = dossier parent de celui du code source
13// $db_place = '../';
14$db_place = '../data/';
15
16
17// $receipts = 'LaTeX/';
10$receipts = 'LaTeX/'; 18$receipts = 'LaTeX/';
19$receiptsStorageLaTeX = '~ORDIPOLO/factures/LaTeX/';
20$receiptsStoragePDF = '~ORDIPOLO/factures/PDF/';
11 21
12// $quotations = '~/ORDIPOLO/Applis_PHP/LaTeX/'; 22// $quotations = 'LaTeX/';
13$quotations = 'LaTeX/'; 23$quotations = 'LaTeX/';
24$quotationsStorageLaTeX = '~ORDIPOLO/devis/LaTeX/';
25$quotationsStoragePDF = '~ORDIPOLO/devis/PDF/';
26
27// $envelopes = 'LaTeX/';
28$envelopes = 'LaTeX/';
29$envelopesStorageLaTeX = '~ORDIPOLO/enveloppes/LaTeX/';
30$envelopesStoragePDF = '~ORDIPOLO/enveloppes/PDF/';
14 31
15// $pub = "~/ORDIPOLO/PUB/"; 32
16$pub = "pub/"; 33// $pub = "~/ORDIPOLO/PUB/"; // dossier extérieur au choix
34$pub = "../pub/"; // dossier pub inclu dans l'appli
17 35
18// $flyer = "flyer.xcf"; 36// $flyer = "flyer.xcf";
19$flyer = "flyer.xcf"; 37$flyer = "flyer.xcf";
@@ -21,24 +39,29 @@ $flyer = "flyer.xcf";
21// $business_card = "carte.sla"; 39// $business_card = "carte.sla";
22$business_card = "carte.sla"; 40$business_card = "carte.sla";
23 41
24// $envelopes = '~/ORDIPOLO/Applis_PHP/LaTeX/';
25$envelopes = 'LaTeX/';
26
27// $db_name = "ordipolo";
28$db_name = "ordipolo";
29
30// $db_place = '~/ORDIPOLO/Appli_PHP/';
31$db_place = '';
32
33// $image_editor = 'gimp'; 42// $image_editor = 'gimp';
34$image_editor = 'gimp'; 43$image_editor = 'gimp';
35 44
36// $publishing = 'scribus'; 45// $publishing = 'scribus';
37$publishing = 'scribus'; 46$publishing = 'scribus';
38 47
39// $x_terminal = 'xterm'; 48
40//$x_terminal = 'xterm'; 49//$x_terminal = 'xterm';
41// les terminaux disponibles sont: xterm... 50// -- état actuel du programme --
51// les terminaux gérés sont: xterm, urxvt, lxterminal, xfce4-terminal, gnome-terminal, konsole, Terminal (MAC, désactivé tant que non testé)
52// ajouter à l'accaz: i3-sensible-terminal (pour i3), lxterminal-qt (pour LXQT, et donc lubuntu)
53// le choix est automatique en prenant le 1er terminal disponible, ceux-ci sont testés un par un dans l'ordre de la liste ci-dessus
54
55
56//~ $SGBD = 'sqlite';
57//~ $dsn = '';
58//~ if($SGBD == 'sqlite')
59//~ {
60 //~ $dsn = 'sqlite:' . $db_name . '.sqlite';
61//~ }
62//~ // pour la portabilité, ce serait pas mal de fournir le binaire de sqlite (dossier lib)
63//~ $sqliteBin = '../lib/sqlite_linux';
64//~ $sqliteBin = '../lib/sqlite_win.exe';
65
42 66
43// vérification des variables 67// vérification des variables dans ../php/config_check.php
44// dans config_check.php