update some stuff

This commit is contained in:
speedie 2023-06-10 11:56:06 +00:00
parent 037c3d59a1
commit 984ae870c3
2 changed files with 4 additions and 1 deletions

3
.htaccess Normal file
View file

@ -0,0 +1,3 @@
RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)index\.php($|\ |\?)
RewriteRule ^ /%1 [R=301,L]

View file

@ -23,7 +23,7 @@
$showFooter = true; // Display the "Powered by" footer
$openIndex = $browseDirectories && true; // Open index files present in the current directory if $browseDirectories is enabled
$browseDefault = null; // Start on a different "default" directory if $browseDirectories is enabled
$ignore = array("index.php", ".git"); // Names of files and folders to not list (case-sensitive)
$ignore = array("index.php", ".git", "ls.css", ".htaccess"); // Names of files and folders to not list (case-sensitive)
// =============================
// =============================