aboutsummaryrefslogtreecommitdiffstats
path: root/install/db
diff options
context:
space:
mode:
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"