diff options
Diffstat (limited to 'admin/include/functions_install.inc.php')
-rw-r--r-- | admin/include/functions_install.inc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/include/functions_install.inc.php b/admin/include/functions_install.inc.php index d9643e721..9e479f54b 100644 --- a/admin/include/functions_install.inc.php +++ b/admin/include/functions_install.inc.php @@ -2,7 +2,7 @@ // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ -// | Copyright(C) 2008-2013 Piwigo Team http://piwigo.org | +// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org | // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | // +-----------------------------------------------------------------------+ @@ -79,7 +79,7 @@ function activate_core_themes() $themes = new themes(); foreach ($themes->fs_themes as $theme_id => $fs_theme) { - if (in_array($theme_id, array('elegant', 'Sylvia', 'clear', 'dark', 'smartpocket'))) + if (in_array($theme_id, array('elegant', 'smartpocket'))) { $themes->perform_action('activate', $theme_id); } @@ -96,7 +96,7 @@ function install_db_connect(&$infos, &$errors) } catch (Exception $e) { - array_push( $errors, l10n($e->getMessage())); + $errors[] = l10n($e->getMessage()); } } ?>
\ No newline at end of file |