diff options
Diffstat (limited to 'inc/poche/config.inc.php')
-rw-r--r-- | inc/poche/config.inc.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php index 834b18ea..ef2f699d 100644 --- a/inc/poche/config.inc.php +++ b/inc/poche/config.inc.php | |||
@@ -8,6 +8,14 @@ | |||
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
10 | 10 | ||
11 | # storage | ||
12 | define ('STORAGE','postgres'); # postgres, mysql, sqlite | ||
13 | define ('STORAGE_SERVER', 'localhost'); # leave blank for sqlite | ||
14 | define ('STORAGE_DB', 'poche'); # only for postgres & mysql | ||
15 | define ('STORAGE_SQLITE', './db/poche.sqlite'); | ||
16 | define ('STORAGE_USER', 'postgres'); # leave blank for sqlite | ||
17 | define ('STORAGE_PASSWORD', 'postgres'); # leave blank for sqlite | ||
18 | |||
11 | define ('POCHE_VERSION', '1.0-beta'); | 19 | define ('POCHE_VERSION', '1.0-beta'); |
12 | define ('MODE_DEMO', FALSE); | 20 | define ('MODE_DEMO', FALSE); |
13 | define ('DEBUG_POCHE', TRUE); | 21 | define ('DEBUG_POCHE', TRUE); |
@@ -24,7 +32,6 @@ define ('CACHE', './cache'); | |||
24 | define ('LANG', 'en_EN.UTF8'); | 32 | define ('LANG', 'en_EN.UTF8'); |
25 | define ('PAGINATION', '10'); | 33 | define ('PAGINATION', '10'); |
26 | define ('THEME', 'light'); | 34 | define ('THEME', 'light'); |
27 | define ('STORAGE','postgres'); # postgres, mysql, sqlite | ||
28 | 35 | ||
29 | # /!\ Be careful if you change the lines below /!\ | 36 | # /!\ Be careful if you change the lines below /!\ |
30 | require_once './inc/poche/User.class.php'; | 37 | require_once './inc/poche/User.class.php'; |