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