From 2405b41e02f4bd6a2f99e5836d9199dee447eb0f Mon Sep 17 00:00:00 2001 From: patdenice Date: Sat, 18 Feb 2012 21:18:34 +0000 Subject: feature:2577 Automaticaly install smartpocket during install or upgrade. hide mobile theme from themes list on user side. git-svn-id: http://piwigo.org/svn/trunk@13242 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/LocalFilesEditor/include/css.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/LocalFilesEditor/include/css.inc.php b/plugins/LocalFilesEditor/include/css.inc.php index 7fa129049..15e434582 100644 --- a/plugins/LocalFilesEditor/include/css.inc.php +++ b/plugins/LocalFilesEditor/include/css.inc.php @@ -10,7 +10,7 @@ elseif (isset($_POST['edited_file'])) { $edited_file = $_POST['edited_file']; } -elseif (isset($_GET['theme']) and in_array($_GET['theme'], array_keys(get_pwg_themes()))) +elseif (isset($_GET['theme']) and in_array($_GET['theme'], array_keys(get_pwg_themes(true)))) { $edited_file = PHPWG_ROOT_PATH.PWG_LOCAL_DIR . 'css/'.$_GET['theme'].'-rules.css'; } -- cgit v1.2.3