From e7598dee7e5a962d637198183ecb34111b00b2d9 Mon Sep 17 00:00:00 2001 From: ruan Date: Sun, 21 Jun 2020 10:14:31 +0200 Subject: [PATCH] Fix up default index link if simple_urls is enabled --- inc/settings.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inc/settings.php b/inc/settings.php index a5f8626..6530d46 100644 --- a/inc/settings.php +++ b/inc/settings.php @@ -138,6 +138,10 @@ final class Settings { ini_set("display_errors", 1); } + if ($this->simple_urls && $this->name_link === "index.php") { + $this->name_link = "index/"; + } + $this->active_query = ""; if ($this->driver === "pgsql") {