mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
Allowing non _menu files to be included using the {PLUGIN} shortcode
This commit is contained in:
parent
a7bd42e3d1
commit
3767a5153a
@ -53,4 +53,14 @@ if($sql->db_Select('menus','menu_id, menu_pages',"menu_name = '$name' AND (menu_
|
||||
include_once(e_PLUGIN.$path."/".$name.".php");
|
||||
$sql->db_Mark_Time("(After $name)");
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(is_readable(e_PLUGIN.$path."/".$name.".php"))
|
||||
{
|
||||
$sql->db_Mark_Time($name);
|
||||
include_lan(e_PLUGIN.$path."/languages/".e_LANGUAGE.".php");
|
||||
include_once(e_PLUGIN.$path."/".$name.".php");
|
||||
$sql->db_Mark_Time("(After $name)");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user