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
This commit is contained in:
patdenice
2012-02-18 21:18:34 +00:00
parent a893882789
commit 2405b41e02
6 changed files with 52 additions and 5 deletions

View File

@@ -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';
}