diff options
author | redmatrix <git@macgirvin.com> | 2016-04-18 01:35:09 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-04-18 01:35:09 -0700 |
commit | 1698732cffab2f625c16a1d8d1227497a0965d43 (patch) | |
tree | 44d6802923840e34495cfeb6aef24ec4cfebf334 /boot.php | |
parent | a9f68e4d2ac9b585b09b29c2663709e6d42c286c (diff) | |
download | volse-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-x | boot.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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'); |