aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2012-02-18 21:18:34 +0000
committerpatdenice <patdenice@piwigo.org>2012-02-18 21:18:34 +0000
commit2405b41e02f4bd6a2f99e5836d9199dee447eb0f (patch)
treeca13e5b4e97ee79db78e3646607870cd34350aa8 /plugins
parenta8938827898ed40d35f25b055a72a41a2c1567ef (diff)
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
Diffstat (limited to 'plugins')
-rw-r--r--plugins/LocalFilesEditor/include/css.inc.php2
1 files changed, 1 insertions, 1 deletions
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';
}