convert all the _well_known service controllers which are a bit touchy when it comes to the router

This commit is contained in:
redmatrix
2016-04-18 01:35:09 -07:00
parent a9f68e4d2a
commit 1698732cff
9 changed files with 253 additions and 228 deletions

View File

@@ -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');