1
0
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:
Cameron 2020-01-19 11:44:30 -08:00
parent 2487f58924
commit 09e3e32ca9

View File

@ -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;