]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/config.php
téléchargement des images d'un article
[github/wallabag/wallabag.git] / inc / config.php
index d468228d201a14cf1facd4711f5e335a71f4c0d4..51a25d369ef87abbfde3756b5452ea8a56041bbc 100644 (file)
@@ -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
+}