From 663be9ca638c12d889036d5143fd6553f2575373 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 25 Mar 2010 10:08:33 +0000 Subject: 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 --- install.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'install.php') 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/', -- cgit v1.2.3