diff --git a/cl-theme/templates/article.html b/cl-theme/templates/article.html index 1aa0972..6e51293 100644 --- a/cl-theme/templates/article.html +++ b/cl-theme/templates/article.html @@ -227,7 +227,11 @@
- + {% if RELATIVE_URLS == False %} + + {% else %} + + {% endif %}

placeholder diff --git a/content/vendor/form-comments/commentsubmit.php b/content/vendor/form-comments/commentsubmit.php index c465a98..fa00d29 100644 --- a/content/vendor/form-comments/commentsubmit.php +++ b/content/vendor/form-comments/commentsubmit.php @@ -23,8 +23,8 @@ if(empty($_POST['name']) || !filter_var($_POST['email'], FILTER_VALIDATE_EMAIL) ) { - // header( "Location: ../{$return_url}"); # devel - header( "Location: {$return_url}"); # prod + // Rediret to current post + header( "Location: {$return_url}"); } else { $DATE_FORMAT = "Y-m-d H:i"; @@ -74,8 +74,7 @@ EOT; mail($to,$email_subject,$email_body,$headers); // Rediret to current post - // header("Refresh: 10; URL=../{$return_url}"); # devel - header("Refresh: 10; URL={$return_url}"); # prod + header("Refresh: 10; URL={$return_url}"); printf('Hurra! %s su comentario se envió correctamente, volviendo a la web en 10 segundos...', $name); }