From 27a74816daa944aefd6353b75b94dea7036145aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 3 Oct 2013 18:33:20 +0200 Subject: [PATCH] change export link --- .htaccess | 8 -------- themes/default/config.twig | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 .htaccess diff --git a/.htaccess b/.htaccess deleted file mode 100644 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 diff --git a/themes/default/config.twig b/themes/default/config.twig index e849d03..0f1aea8 100644 --- a/themes/default/config.twig +++ b/themes/default/config.twig @@ -76,5 +76,5 @@

{% trans "Export your poche datas" %}

-

{% trans "Click here" %} {% trans "to export your poche datas." %}

+

{% trans "Click here" %} {% trans "to export your poche datas." %}

{% endblock %} \ No newline at end of file