Fixes
This commit is contained in:
parent
bc6acb470a
commit
bc9e9e16e7
@ -44,7 +44,7 @@ ini_set('session.cookie_secure', '1');
|
|||||||
session_start ();
|
session_start ();
|
||||||
mb_internal_encoding ("UTF-8");
|
mb_internal_encoding ("UTF-8");
|
||||||
|
|
||||||
/** Language **/
|
//Language
|
||||||
$langTag = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
|
$langTag = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
|
||||||
$langMng = new LanguageManager($langTag);
|
$langMng = new LanguageManager($langTag);
|
||||||
$langMng->load();
|
$langMng->load();
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
Options -Indexes
|
||||||
|
Options -MultiViews -Indexes
|
||||||
|
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteBase /vasek/home-update/public/
|
||||||
|
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !.css
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !.js
|
||||||
|
RewriteRule (.*) index.php?url=$1 [QSA,L]
|
||||||
|
|
||||||
|
RewriteCond %{HTTPS} off
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !api.php
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !apiFront.php
|
||||||
|
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||||
|
|
||||||
|
AddType application/x-httpd-php .php .phtml
|
Loading…
Reference in New Issue
Block a user