mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 18:01:31 +02:00
during upgrade, use the new default Piwigo theme (modus) instead of hardcoded "elegant"
... and make sure the default Piwigo theme is active before that.
This commit is contained in:
@@ -9,9 +9,10 @@
|
||||
// Default settings
|
||||
define('PHPWG_VERSION', '2.10.0');
|
||||
define('PHPWG_DEFAULT_LANGUAGE', 'en_UK');
|
||||
// this constant is actually never used, the true default theme is the theme or user "guest",
|
||||
// which is initialized with column user_infos.theme default value
|
||||
// (see file install/piwigo_structure-mysql.sql)
|
||||
|
||||
// this constant is only used in the upgrade process, the true default theme
|
||||
// is the theme of user "guest", which is initialized with column user_infos.theme
|
||||
// default value (see file install/piwigo_structure-mysql.sql)
|
||||
define('PHPWG_DEFAULT_TEMPLATE', 'modus');
|
||||
|
||||
define('PHPWG_THEMES_PATH', $conf['themes_dir'].'/');
|
||||
|
||||
Reference in New Issue
Block a user