aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/config.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-18 10:15:46 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-18 10:15:46 +0200
commitd06f30ef931402a1e56aab841ce852b3b81a9697 (patch)
treec6250f8b0b2d2eb369f396bc31f6842a08d54c88 /inc/config.php
parent64458521c36de87d10f1c726667faeaaa5126840 (diff)
downloadwallabag-d06f30ef931402a1e56aab841ce852b3b81a9697.tar.gz
wallabag-d06f30ef931402a1e56aab841ce852b3b81a9697.tar.zst
wallabag-d06f30ef931402a1e56aab841ce852b3b81a9697.zip
Fixed #54 - récupération de l'id améliorée et utilisation de action_to_do() pour l'insertion dans l'import pocket
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index 4db3cf40..386fd036 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -14,6 +14,7 @@ if (!is_dir('db/')) {
14 14
15define ('DB_PATH', 'sqlite:./db/poche.sqlite'); 15define ('DB_PATH', 'sqlite:./db/poche.sqlite');
16define ('ABS_PATH', 'assets/'); 16define ('ABS_PATH', 'assets/');
17define ('CONVERT_LINKS_FOOTNOTES', TRUE);
17define ('DOWNLOAD_PICTURES', TRUE); 18define ('DOWNLOAD_PICTURES', TRUE);
18 19
19include 'db.php'; 20include 'db.php';
@@ -50,5 +51,5 @@ $url = (isset ($_GET['url'])) ? $_GET['url'] : '';
50$token = (isset ($_REQUEST['token'])) ? $_REQUEST['token'] : ''; 51$token = (isset ($_REQUEST['token'])) ? $_REQUEST['token'] : '';
51 52
52if ($action != '') { 53if ($action != '') {
53 action_to_do($action, $id, $url, $token); 54 action_to_do($action, $url, $token, $id);
54} 55}