* Adjust webroot get type.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user