téléchargement des images d'un article

This commit is contained in:
nicosomb
2013-04-17 15:11:57 +02:00
parent 4456315b21
commit 1c182b6c9d
5 changed files with 136 additions and 18 deletions

View 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);
}
}