diff --git a/ext/handle_404/main.php b/ext/handle_404/main.php index fd00790c..00a850e8 100644 --- a/ext/handle_404/main.php +++ b/ext/handle_404/main.php @@ -14,7 +14,7 @@ class Handle404 extends Extension { // hax. if($page->mode == "page" && (!isset($page->blocks) || $this->count_main($page->blocks) == 0)) { $h_pagename = html_escape(implode('/', $event->args)); - $f_pagename = preg_replace("/[^a-z\.]+/", "_", $h_pagename); + $f_pagename = preg_replace("/[^a-z_\-\.]+/", "_", $h_pagename); $theme_name = $config->get_string("theme", "default"); if(file_exists("themes/$theme_name/$f_pagename") || file_exists("lib/static/$f_pagename")) { diff --git a/lib/static/favicon.ico b/lib/static/favicon.ico index e9fb6321..07415788 100644 Binary files a/lib/static/favicon.ico and b/lib/static/favicon.ico differ