mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
Warning removal. Define e_PAGE when e_url.php is active.
This commit is contained in:
@@ -183,7 +183,10 @@ class e_url
|
|||||||
define('e_CURRENT_PLUGIN', $plug);
|
define('e_CURRENT_PLUGIN', $plug);
|
||||||
define('e_QUERY', str_replace('&&', '&', $query)); // do not add to e107_class.php
|
define('e_QUERY', str_replace('&&', '&', $query)); // do not add to e107_class.php
|
||||||
define('e_URL_LEGACY', $redirect);
|
define('e_URL_LEGACY', $redirect);
|
||||||
|
if(!defined('e_PAGE'))
|
||||||
|
{
|
||||||
|
define('e_PAGE', basename($file));
|
||||||
|
}
|
||||||
$this->_include= $file;
|
$this->_include= $file;
|
||||||
return true;
|
return true;
|
||||||
// exit;
|
// exit;
|
||||||
|
Reference in New Issue
Block a user