mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Notice removal
This commit is contained in:
@@ -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']; }
|
if($_SERVER['PHP_SELF'] == "") { $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME']; }
|
||||||
|
|
||||||
$http_path = dirname($_SERVER['PHP_SELF']);
|
$http_path = dirname($_SERVER['PHP_SELF']);
|
||||||
@@ -3906,8 +3899,12 @@ class e107
|
|||||||
$this->file_path = $path;
|
$this->file_path = $path;
|
||||||
|
|
||||||
if(!defined('e_HTTP') || !defined('e_ADMIN') )
|
if(!defined('e_HTTP') || !defined('e_ADMIN') )
|
||||||
|
{
|
||||||
|
if(!defined('e_HTTP'))
|
||||||
{
|
{
|
||||||
define('e_HTTP', $this->server_path); // Directory of site root relative to HTML base directory
|
define('e_HTTP', $this->server_path); // Directory of site root relative to HTML base directory
|
||||||
|
}
|
||||||
|
|
||||||
define('e_BASE', $this->relative_base_path);
|
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 = '/'
|
// Base dir of web stuff in server terms. e_ROOT should always end with e_HTTP, even if e_HTTP = '/'
|
||||||
|
Reference in New Issue
Block a user