From 1c182b6c9d74875054dc8efe75564ceab1bc1abe Mon Sep 17 00:00:00 2001 From: nicosomb Date: Wed, 17 Apr 2013 15:11:57 +0200 Subject: =?UTF-8?q?t=C3=A9l=C3=A9chargement=20des=20images=20d'un=20articl?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/config.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'inc/config.php') 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 @@ * @copyright 2013 * @license http://www.wtfpl.net/ see COPYING file */ + +if(!is_dir('db/')){mkdir('db/',0705);} define ('DB_PATH', 'sqlite:./db/poche.sqlite'); +define ('ABS_PATH', 'archiveImg/'); include 'db.php'; include 'functions.php'; @@ -44,4 +47,4 @@ $token = (isset ($_REQUEST['token'])) ? $_REQUEST['token'] : ''; if ($action != '') { action_to_do($action, $id, $url, $token); -} \ No newline at end of file +} -- cgit v1.2.3