]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
change export link
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Thu, 3 Oct 2013 16:33:20 +0000 (18:33 +0200)
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Thu, 3 Oct 2013 16:33:20 +0000 (18:33 +0200)
.htaccess [deleted file]
themes/default/config.twig

diff --git a/.htaccess b/.htaccess
deleted file mode 100644 (file)
index 37b7701..0000000
--- a/.htaccess
+++ /dev/null
@@ -1,8 +0,0 @@
-Options +FollowSymlinks
-RewriteEngine On
-RewriteRule ^dl/export_poche.json$ ?export [L]
-
-# Force download
-RewriteCond %{QUERY_STRING} =export
-RewriteRule ([^/]*)$ - [L,E=dl:$1]
-Header onsuccess set Content-disposition "attachment; filename=%{dl}e" env=dl
\ No newline at end of file
index e849d03b42c224aa3a5628e5f8fd2d66302ea681..0f1aea80bd1abebb8346355da08442f0fe240082 100644 (file)
@@ -76,5 +76,5 @@
             </ul>
 
             <h2>{% trans "Export your poche datas" %}</h2>
-            <p><a href="./dl/export_poche.json">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p>
+            <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p>
 {% endblock %}
\ No newline at end of file