Added option in installer and htaccess rule
This commit is contained in:
parent
15b13949a8
commit
c2057e5c6e
|
@ -36,6 +36,11 @@
|
||||||
Deny from all
|
Deny from all
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
|
|
||||||
|
<FilesMatch "^\.ht">
|
||||||
|
Order Allow,Deny
|
||||||
|
Deny from all
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
<IfModule mod_headers.c>
|
<IfModule mod_headers.c>
|
||||||
<FilesMatch "\.(js|css|woff|woff2|ttf|eot)$">
|
<FilesMatch "\.(js|css|woff|woff2|ttf|eot)$">
|
||||||
Header set Cache-Control "max-age=2592000, public"
|
Header set Cache-Control "max-age=2592000, public"
|
||||||
|
|
|
@ -489,7 +489,8 @@ function initOptions($name, $visible, $developer, $password, $report_email, $own
|
||||||
'training_edit' => 1,
|
'training_edit' => 1,
|
||||||
'training_remove' => 1,
|
'training_remove' => 1,
|
||||||
'use_location_picker' => 1,
|
'use_location_picker' => 1,
|
||||||
'force_language' => 0
|
'force_language' => 0,
|
||||||
|
'force_remember_cookie' => 0
|
||||||
];
|
];
|
||||||
$query = "";
|
$query = "";
|
||||||
foreach ($options as $key => $value) {
|
foreach ($options as $key => $value) {
|
||||||
|
|
Loading…
Reference in New Issue