mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-05 04:52:47 +02:00
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:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user