convert all the _well_known service controllers which are a bit touchy when it comes to the router
This commit is contained in:
2
boot.php
2
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');
|
||||
|
||||
Reference in New Issue
Block a user