diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-17 15:11:57 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-17 15:11:57 +0200 |
commit | 1c182b6c9d74875054dc8efe75564ceab1bc1abe (patch) | |
tree | 97ab86be512a518ec3fac8d629211bb666741004 /inc/config.php | |
parent | 4456315b217f4eb253fc4403e43cdcb0012356e6 (diff) | |
download | wallabag-1c182b6c9d74875054dc8efe75564ceab1bc1abe.tar.gz wallabag-1c182b6c9d74875054dc8efe75564ceab1bc1abe.tar.zst wallabag-1c182b6c9d74875054dc8efe75564ceab1bc1abe.zip |
téléchargement des images d'un article
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 | } |