aboutsummaryrefslogtreecommitdiffstats
path: root/install/db
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-03-02 15:35:58 +0000
committerplegall <plg@piwigo.org>2012-03-02 15:35:58 +0000
commitd4eaa2eacb144609ab782f3ac7cf1ece6e05c749 (patch)
treed1ae8f1323ce0dd58d291e2418e9b2c547805168 /install/db
parent65bb5d44b61565e1896c51e58b0ccccf8bcda62c (diff)
feature 2577: bug fixed in install/db/118, remove it from piwigo_upgrade table
and run it once again. git-svn-id: http://piwigo.org/svn/trunk@13459 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--install/db/118-database.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/install/db/118-database.php b/install/db/118-database.php
index 7cd9bc504..3719718a6 100644
--- a/install/db/118-database.php
+++ b/install/db/118-database.php
@@ -28,7 +28,10 @@ if (!defined('PHPWG_ROOT_PATH'))
$upgrade_description = 'Automatically activate mobile theme.';
-conf_update_param('mobile_theme', 'smartpocket');
+include_once(PHPWG_ROOT_PATH.'include/constants.php');
+include_once(PHPWG_ROOT_PATH.'admin/include/themes.class.php');
+$themes = new themes();
+$themes->perform_action('activate', 'smartpocket');
echo
"\n"