aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-18 01:35:09 -0700
committerredmatrix <git@macgirvin.com>2016-04-18 01:35:09 -0700
commit1698732cffab2f625c16a1d8d1227497a0965d43 (patch)
tree44d6802923840e34495cfeb6aef24ec4cfebf334 /boot.php
parenta9f68e4d2ac9b585b09b29c2663709e6d42c286c (diff)
downloadvolse-hubzilla-1698732cffab2f625c16a1d8d1227497a0965d43.tar.gz
volse-hubzilla-1698732cffab2f625c16a1d8d1227497a0965d43.tar.bz2
volse-hubzilla-1698732cffab2f625c16a1d8d1227497a0965d43.zip
convert all the _well_known service controllers which are a bit touchy when it comes to the router
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index ef620e3ec..385115be4 100755
--- a/boot.php
+++ b/boot.php
@@ -860,6 +860,8 @@ class App {
if ((array_key_exists('0', self::$argv)) && strlen(self::$argv[0])) {
self::$module = str_replace(".", "_", self::$argv[0]);
self::$module = str_replace("-", "_", self::$module);
+ if(strpos(self::$module,'_') === 0)
+ self::$module = substr(self::$module,1);
} else {
self::$argc = 1;
self::$argv = array('home');