From: x2000habouzit Date: Wed, 27 Sep 2006 08:48:59 +0000 (+0000) Subject: yet another problem X-Git-Tag: xorg/0.9.11~35 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=bd193fdec63c3039ad478378004165d29a7b466c;p=platal.git yet another problem git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@912 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs/.htaccess b/htdocs/.htaccess index 64297ef..3753de7 100644 --- a/htdocs/.htaccess +++ b/htdocs/.htaccess @@ -1,7 +1,7 @@ Options +FollowSymLinks RewriteEngine on -RewriteBase / +RewriteBase /~x2000habouzit # Rewrite URLs of the form 'index.php?q=x': RewriteCond %{REQUEST_FILENAME} !-f diff --git a/templates/payment/index.tpl b/templates/payment/index.tpl index dd4c34d..0fccf8c 100644 --- a/templates/payment/index.tpl +++ b/templates/payment/index.tpl @@ -89,7 +89,7 @@ function payment_submit(form) { form.op.value = 'select'; form.montant.value = 0; - form.action = form.action + '/' + form.ref.value; + form.action = 'payment/' + form.ref.value; form.submit(); } {/literal}