mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
fix on theme preview handler
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/class2.php,v $
|
| $Source: /cvs_backup/e107_0.8/class2.php,v $
|
||||||
| $Revision: 1.5 $
|
| $Revision: 1.6 $
|
||||||
| $Date: 2006-12-30 03:07:49 $
|
| $Date: 2007-01-04 23:43:02 $
|
||||||
| $Author: e107coders $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
//
|
//
|
||||||
@@ -552,7 +552,7 @@ if (!function_exists('checkvalidtheme')) {
|
|||||||
// arg1 = theme to check
|
// arg1 = theme to check
|
||||||
global $ADMIN_DIRECTORY, $tp, $e107;
|
global $ADMIN_DIRECTORY, $tp, $e107;
|
||||||
|
|
||||||
if (strpos(e_QUERY, "themepreview") !== FALSE) {
|
if (ADMIN && strpos(e_QUERY, "themepreview") !== FALSE) {
|
||||||
list($action, $id) = explode('.', e_QUERY);
|
list($action, $id) = explode('.', e_QUERY);
|
||||||
require_once(e_HANDLER."theme_handler.php");
|
require_once(e_HANDLER."theme_handler.php");
|
||||||
$themeArray = themeHandler :: getThemes("id");
|
$themeArray = themeHandler :: getThemes("id");
|
||||||
|
Reference in New Issue
Block a user