aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/config.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-17 15:11:57 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-17 15:11:57 +0200
commit1c182b6c9d74875054dc8efe75564ceab1bc1abe (patch)
tree97ab86be512a518ec3fac8d629211bb666741004 /inc/config.php
parent4456315b217f4eb253fc4403e43cdcb0012356e6 (diff)
downloadwallabag-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.php5
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
11if(!is_dir('db/')){mkdir('db/',0705);}
10define ('DB_PATH', 'sqlite:./db/poche.sqlite'); 12define ('DB_PATH', 'sqlite:./db/poche.sqlite');
13define ('ABS_PATH', 'archiveImg/');
11 14
12include 'db.php'; 15include 'db.php';
13include 'functions.php'; 16include 'functions.php';
@@ -44,4 +47,4 @@ $token = (isset ($_REQUEST['token'])) ? $_REQUEST['token'] : '';
44 47
45if ($action != '') { 48if ($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}