aboutsummaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-25 10:08:33 +0000
committerplegall <plg@piwigo.org>2010-03-25 10:08:33 +0000
commit663be9ca638c12d889036d5143fd6553f2575373 (patch)
tree70bd6feee556b5fc4a79998972caec8b791c1518 /install.php
parentd19e8ef8593bfb543f5f4a32fb8b1e1d2f1c1bd9 (diff)
improvement: dynamically activate all installed themes (with checks on
parent availability and so on). git-svn-id: http://piwigo.org/svn/trunk@5340 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install.php')
-rw-r--r--install.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/install.php b/install.php
index f51d7d593..6e47bafe8 100644
--- a/install.php
+++ b/install.php
@@ -376,6 +376,11 @@ INSERT INTO '.$prefixeTable.'config (param,value,comment)
// fill $conf global array
load_conf_from_db();
+ // PWG_CHARSET is required for building the fs_themes array in the
+ // themes class
+ define('PWG_CHARSET', $pwg_charset);
+ activate_all_themes();
+
$insert = array(
'id' => 1,
'galleries_url' => PHPWG_ROOT_PATH.'galleries/',