From 1698732cffab2f625c16a1d8d1227497a0965d43 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 18 Apr 2016 01:35:09 -0700 Subject: convert all the _well_known service controllers which are a bit touchy when it comes to the router --- boot.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'boot.php') 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'); -- cgit v1.2.3