diff --git a/framework/base/router.class.php b/framework/base/router.class.php index 5fa817ae46..b9a49197b9 100644 --- a/framework/base/router.class.php +++ b/framework/base/router.class.php @@ -1549,7 +1549,7 @@ class baseRouter /* Check file is encode by ioncube. */ $isEncrypted = false; - if(strpos($file2Included, 'extension' . DS . $this->config->edition . DS) !== false) + if(strpos($file2Included, 'extension') !== false) { $fp = fopen($file2Included, 'r'); $line1 = fgets($fp);