fix rewrite for api calls to not redirect
This commit is contained in:
parent
98baf9acc6
commit
aad85224b5
@ -6,5 +6,5 @@ RewriteCond %{REQUEST_FILENAME}.php -f
|
|||||||
RewriteRule ^(.+)$ $1.php [L,QSA]
|
RewriteRule ^(.+)$ $1.php [L,QSA]
|
||||||
|
|
||||||
#301 from example.com/page.html to example.com/page
|
#301 from example.com/page.html to example.com/page
|
||||||
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*\.php\ HTTP/
|
#RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*\.php\ HTTP/
|
||||||
RewriteRule ^(.*)\.php$ /$1 [R=301,L]
|
#RewriteRule ^(.*)\.php$ /$1 [R=301,L]
|
||||||
|
@ -98,9 +98,6 @@ else if(!verifyCaptcha()){
|
|||||||
$errors['recaptcha'] = 'Error en la validación de ReCaptcha';
|
$errors['recaptcha'] = 'Error en la validación de ReCaptcha';
|
||||||
}
|
}
|
||||||
|
|
||||||
/*GUAMBIA ACAAA!!!!*/
|
|
||||||
$errors=array();
|
|
||||||
/* NO GILEAR!!!!!*/
|
|
||||||
|
|
||||||
if ( !empty($errors)) {
|
if ( !empty($errors)) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user