summaryrefslogtreecommitdiff
path: root/src/Config.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2024-08-14 17:20:10 +0200
committerpolo <ordipolo@gmx.fr>2024-08-14 17:20:10 +0200
commit5fb0a2785718160317069c87496d1602e32ea3d6 (patch)
tree3225c81385576a2ece5fdefa54d3fb7059115b71 /src/Config.php
parentbf6655a534a6775d30cafa67bd801276bda1d98d (diff)
downloadAppliGestionPHP-5fb0a2785718160317069c87496d1602e32ea3d6.zip
autoload avec composer
Diffstat (limited to 'src/Config.php')
-rw-r--r--src/Config.php37
1 files changed, 17 insertions, 20 deletions
diff --git a/src/Config.php b/src/Config.php
index 16aa8ed..5de966f 100644
--- a/src/Config.php
+++ b/src/Config.php
@@ -4,26 +4,23 @@
4class Config 4class Config
5{ 5{
6 // valeurs par défaut au cas où 6 // valeurs par défaut au cas où
7 static public $business_name = 'ORDIPOLO'; 7 static public string $business_name = 'ORDIPOLO';
8 static public $business_guy = 'Paul Jusot'; 8 static public string $business_guy = 'Paul Jusot';
9 static public $business_address = "2A rue de l'île de Man"; 9 static public string $business_address = "2A rue de l'île de Man";
10 static public $business_postcode = '29000'; 10 static public string $business_postcode = '29000';
11 static public $business_city = 'Quimper'; 11 static public string $business_city = 'Quimper';
12 static public $db_name = "ordipolo"; 12 static public string $db_name = "ordipolo";
13 static public $db_path = 'data/'; 13 static public string $db_path = 'data/';
14 static public $latex_path = 'data/latex/'; 14 static public string $latex_path = 'data/latex/';
15 static public $pdf_path = 'data/pdf/'; 15 static public string $pdf_path = 'data/pdf/';
16 static public $pub_path = "pub/"; 16 static public string $pub_path = "pub/";
17 static public $flyer = "flyer.xcf"; 17 static public string $flyer = "flyer.xcf";
18 static public $business_card = "carte.sla"; 18 static public string $business_card = "carte.sla";
19 static public $image_editor = 'gimp'; 19 static public string $image_editor = 'gimp';
20 static public $publishing = 'scribus'; 20 static public string $publishing = 'scribus';
21 static public $sgbd = 'sqlite'; 21 static public string $sgbd = 'sqlite';
22 static public $sqlite_gui = 'sqlitebrowser'; // ne pas utiliser si le sgbd n'est pas sqlite 22 static public string $sqlite_gui = 'sqlitebrowser'; // ne pas utiliser si le sgbd n'est pas sqlite
23 static public $date_format = 'euro'; 23 static public string $date_format = 'euro';
24
25 // pour que Config crée le dsn: Data Source Name (à mettre dans une autre classe!)
26 //~ static public $dsn = '';
27 24
28 // ça pourrait être bien de founir sqlite avec l'application pour supprimer une dépendance 25 // ça pourrait être bien de founir sqlite avec l'application pour supprimer une dépendance
29 //~ static public $sqliteBin = 'lib/sqlite_linux'; 26 //~ static public $sqliteBin = 'lib/sqlite_linux';