From f44adcc4e4ff830b311fa3308cd5b9b5ce06d40f Mon Sep 17 00:00:00 2001 From: PeaceCopathe Date: Mon, 15 Apr 2013 22:28:24 +0200 Subject: [PATCH] =?UTF-8?q?R=C3=A9pertoire=20db?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Création répertoire db si non existant. --- inc/config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/config.php b/inc/config.php index 29a22507c..15237bfa6 100644 --- a/inc/config.php +++ b/inc/config.php @@ -7,8 +7,11 @@ * @copyright 2013 * @license http://www.wtfpl.net/ see COPYING file */ + +if(!is_dir('db/')){mkdir('db/',0705);} define ('DB_PATH', 'sqlite:./db/poche.sqlite'); + include 'db.php'; include 'functions.php'; require_once 'Readability.php';