From 3208a649a25cfb0b8fe4aaf50e254ef747aad718 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Wed, 16 Feb 2011 08:55:38 +0100 Subject: [PATCH] allow /name.ext to load mod/name_ext.php --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.php b/boot.php index 2713f3dcea..ab738e2130 100644 --- a/boot.php +++ b/boot.php @@ -277,7 +277,7 @@ class App { $this->argv = explode('/',$this->cmd); $this->argc = count($this->argv); if((array_key_exists('0',$this->argv)) && strlen($this->argv[0])) { - $this->module = $this->argv[0]; + $this->module = str_replace(".", "_", $this->argv[0]); } else { $this->module = 'home';