diff options
Diffstat (limited to 'inc/config.php')
-rw-r--r-- | inc/config.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php index d468228d..51a25d36 100644 --- a/inc/config.php +++ b/inc/config.php | |||
@@ -7,7 +7,10 @@ | |||
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
10 | |||
11 | if(!is_dir('db/')){mkdir('db/',0705);} | ||
10 | define ('DB_PATH', 'sqlite:./db/poche.sqlite'); | 12 | define ('DB_PATH', 'sqlite:./db/poche.sqlite'); |
13 | define ('ABS_PATH', 'archiveImg/'); | ||
11 | 14 | ||
12 | include 'db.php'; | 15 | include 'db.php'; |
13 | include 'functions.php'; | 16 | include 'functions.php'; |
@@ -44,4 +47,4 @@ $token = (isset ($_REQUEST['token'])) ? $_REQUEST['token'] : ''; | |||
44 | 47 | ||
45 | if ($action != '') { | 48 | if ($action != '') { |
46 | action_to_do($action, $id, $url, $token); | 49 | action_to_do($action, $id, $url, $token); |
47 | } \ No newline at end of file | 50 | } |