From 13067f801f4c58b8bd049f836752a2cc9d73a5a3 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 26 May 2020 10:31:38 +0800 Subject: [PATCH] * code for task #11318. --- framework/router.class.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/framework/router.class.php b/framework/router.class.php index ed46d2f8a3..9dca2b42c6 100755 --- a/framework/router.class.php +++ b/framework/router.class.php @@ -56,6 +56,18 @@ class router extends baseRouter */ public $isFlow = false; + /** + * Get the $moduleRoot var. + * + * @param string $appName + * @access public + * @return string + */ + public function getModuleRoot($appName = '') + { + return $this->moduleRoot; + } + /** * Merge system and translated langs. *