php_value default_charset utf-8
php_value date.timezone Europe/Prague
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off

# Friendly share URL
RewriteEngine on
# RewriteRule !^(favicon\.ico|robots\.txt|index\.php|(styles|items|images|fonts|scripts)/?.*)$ index.php [L]
RewriteCond %{REQUEST_FILENAME}       !-f
RewriteCond %{REQUEST_FILENAME}       !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

# Hide composer, logs
<IfModule mod_alias.c>
RedirectMatch 404 /\.git
RedirectMatch 404 vendor\/
RedirectMatch 404 composer\.
RedirectMatch 404 phpunit\.xml
RedirectMatch 404 \.gitignore
RedirectMatch 404 README\.md
RedirectMatch 404 \/temp\/
RedirectMatch 404 sql\/
RedirectMatch 404 classes\/
RedirectMatch 404 \/logs\/
# RedirectMatch 404 data\/
RedirectMatch 404 conf\/
RedirectMatch 404 VERSION
</IfModule>
