diff --git a/framework/base/helper.class.php b/framework/base/helper.class.php index ba96f1b1e8..2cb58e258f 100644 --- a/framework/base/helper.class.php +++ b/framework/base/helper.class.php @@ -1083,8 +1083,6 @@ function isLocalIP() */ function getWebRoot($full = false) { - if(getenv('APP_WEB_ROOT')) return getenv('APP_WEB_ROOT'); - $path = $_SERVER['SCRIPT_NAME']; if(PHP_SAPI == 'cli')