diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-02-16 08:55:38 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-04-21 09:04:15 +0200 |
commit | 3208a649a25cfb0b8fe4aaf50e254ef747aad718 (patch) | |
tree | bbb8f428602ec43e501972409796f0b12fdd0bce | |
parent | b505e76393c28110fa1b6c208d248f0ee59f90cf (diff) | |
download | volse-hubzilla-3208a649a25cfb0b8fe4aaf50e254ef747aad718.tar.gz volse-hubzilla-3208a649a25cfb0b8fe4aaf50e254ef747aad718.tar.bz2 volse-hubzilla-3208a649a25cfb0b8fe4aaf50e254ef747aad718.zip |
allow /name.ext to load mod/name_ext.php
-rw-r--r-- | boot.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'; |