mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-28 12:19:57 +03: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:
parent
a893882789
commit
2405b41e02
6 changed files with 52 additions and 5 deletions
|
@ -134,7 +134,7 @@ function activate_core_themes()
|
|||
$themes = new themes();
|
||||
foreach ($themes->fs_themes as $theme_id => $fs_theme)
|
||||
{
|
||||
if (in_array($theme_id, array('Sylvia', 'clear', 'dark')))
|
||||
if (in_array($theme_id, array('Sylvia', 'clear', 'dark', 'smartpocket')))
|
||||
{
|
||||
$themes->perform_action('activate', $theme_id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue