aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-02-16 08:55:38 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2011-04-21 09:04:15 +0200
commit3208a649a25cfb0b8fe4aaf50e254ef747aad718 (patch)
treebbb8f428602ec43e501972409796f0b12fdd0bce /boot.php
parentb505e76393c28110fa1b6c208d248f0ee59f90cf (diff)
downloadvolse-hubzilla-3208a649a25cfb0b8fe4aaf50e254ef747aad718.tar.gz
volse-hubzilla-3208a649a25cfb0b8fe4aaf50e254ef747aad718.tar.bz2
volse-hubzilla-3208a649a25cfb0b8fe4aaf50e254ef747aad718.zip
allow /name.ext to load mod/name_ext.php
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 2713f3dce..ab738e213 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';