Browse Source

092 compatibilité Free

pull/9/head
Fred Tempez 2 years ago
parent
commit
de61445249
  1. 4
      core/vendor/filemanager/config/config.php
  2. 4
      site/data/.htaccess

4
core/vendor/filemanager/config/config.php vendored

@ -6,7 +6,9 @@ mb_internal_encoding('UTF-8');
mb_http_output('UTF-8');
mb_http_input('UTF-8');
mb_language('uni');
mb_regex_encoding('UTF-8'); // A commenter chez Free
if (function_exists('mb_regex_encoding')) {
mb_regex_encoding('UTF-8');
}
ob_start('mb_output_handler');
date_default_timezone_set('Europe/Paris');
setlocale(LC_CTYPE, 'fr_FR'); //correct transliteration

4
site/data/.htaccess

@ -1,8 +1,8 @@
# Bloque l'accès aux données
<FilesMatch "\.json">
<Files *.json>
Order deny,allow
Deny from all
</FilesMatch>
</Files>
# Bloque l'accès htaccess
<Files .htaccess>
Order deny,allow

Loading…
Cancel
Save