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

Secure-Image is now alphanumeric.

This commit is contained in:
Cameron
2016-02-26 12:36:35 -08:00
parent d295a434c3
commit c2349c6876
3 changed files with 26 additions and 21 deletions

View File

@@ -1264,26 +1264,28 @@ if(!isset($_E107['no_menus']))
}
// here we USE the theme
if(e_ADMIN_AREA)
if(!isset($_E107['no_theme']))
{
if(file_exists(THEME.'admin_theme.php')&&(strpos(e_SELF.'?'.e_QUERY, $ADMIN_DIRECTORY.'menus.php?configure')===FALSE)) // no admin theme when previewing.
if(e_ADMIN_AREA)
{
require_once (THEME.'admin_theme.php');
if(file_exists(THEME.'admin_theme.php')&&(strpos(e_SELF.'?'.e_QUERY, $ADMIN_DIRECTORY.'menus.php?configure')===FALSE)) // no admin theme when previewing.
{
require_once (THEME.'admin_theme.php');
}
else
{
require_once (THEME.'theme.php');
}
}
else
{
require_once (THEME.'theme.php');
if(isset($SC_WRAPPER))
{
e107::scStyle($SC_WRAPPER);
}
}
}
else
{
require_once (THEME.'theme.php');
if(isset($SC_WRAPPER))
{
e107::scStyle($SC_WRAPPER);
}
}
//----------------------------
// Load shortcode handler