1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Improved e_CURRENT_PLUGIN detection when using SEF-URLs and other minor path fixes.

This commit is contained in:
Cameron
2015-04-03 18:42:27 -07:00
parent 71961be7af
commit 619b40b2e3
7 changed files with 44 additions and 35 deletions

View File

@@ -37,7 +37,7 @@ e107::coreLan('footer', true);
foreach ($_plugins as $_p)
{
if(in_array($_p, $_globalLans) && e_CURRENT_PLUGIN != $_p) // filter out those with globals unless we are in a plugin folder.
if(in_array($_p, $_globalLans) && defset('e_CURRENT_PLUGIN') != $_p) // filter out those with globals unless we are in a plugin folder.
{
continue;
}