diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-18 10:15:46 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-18 10:15:46 +0200 |
commit | d06f30ef931402a1e56aab841ce852b3b81a9697 (patch) | |
tree | c6250f8b0b2d2eb369f396bc31f6842a08d54c88 /inc/config.php | |
parent | 64458521c36de87d10f1c726667faeaaa5126840 (diff) | |
download | wallabag-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.php | 3 |
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 | ||
15 | define ('DB_PATH', 'sqlite:./db/poche.sqlite'); | 15 | define ('DB_PATH', 'sqlite:./db/poche.sqlite'); |
16 | define ('ABS_PATH', 'assets/'); | 16 | define ('ABS_PATH', 'assets/'); |
17 | define ('CONVERT_LINKS_FOOTNOTES', TRUE); | ||
17 | define ('DOWNLOAD_PICTURES', TRUE); | 18 | define ('DOWNLOAD_PICTURES', TRUE); |
18 | 19 | ||
19 | include 'db.php'; | 20 | include '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 | ||
52 | if ($action != '') { | 53 | if ($action != '') { |
53 | action_to_do($action, $id, $url, $token); | 54 | action_to_do($action, $url, $token, $id); |
54 | } | 55 | } |