1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 18:47:54 +01:00

Notice removal

This commit is contained in:
Cameron 2017-02-09 09:49:47 -08:00
parent 1bd82ce2d7
commit e1af3eb015

View File

@ -3853,13 +3853,6 @@ class e107
}
}
/*
if(!empty($_SERVER['REQUEST_URI']) && !deftrue('e_SINGLE_ENTRY'))
{
list($_SERVER['PHP_SELF']) = explode("?",$_SERVER['REQUEST_URI'],1);
}
*/
if($_SERVER['PHP_SELF'] == "") { $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME']; }
$http_path = dirname($_SERVER['PHP_SELF']);
@ -3907,7 +3900,11 @@ class e107
if(!defined('e_HTTP') || !defined('e_ADMIN') )
{
define('e_HTTP', $this->server_path); // Directory of site root relative to HTML base directory
if(!defined('e_HTTP'))
{
define('e_HTTP', $this->server_path); // Directory of site root relative to HTML base directory
}
define('e_BASE', $this->relative_base_path);
// Base dir of web stuff in server terms. e_ROOT should always end with e_HTTP, even if e_HTTP = '/'