diff options
author | plegall <plg@piwigo.org> | 2010-03-17 00:48:38 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-17 00:48:38 +0000 |
commit | f82430dd3b92a2e37a58108fa81cd0bc6255fb00 (patch) | |
tree | db0e7d249e591f0187ade853d8cf517a011f3fe1 /include/constants.php | |
parent | 54148c8d6039695456cec9cdf3e912810e8105db (diff) |
feature 1514: new screen to manage installed themes; activate, deactivate,
delete, set as default.
plugins.class.php was merged back to a state it doesn't manage themes at all.
themes.class.php was created instead, from a duplication of plugins.class.php
and strongly modified then.
feature 1507: the display of available themes is now much more "graphic".
git-svn-id: http://piwigo.org/svn/trunk@5153 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/constants.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/constants.php b/include/constants.php index 7e429a91c..ea5378e94 100644 --- a/include/constants.php +++ b/include/constants.php @@ -24,7 +24,9 @@ // Default settings define('PHPWG_VERSION', 'Colibri'); define('PHPWG_DEFAULT_LANGUAGE', 'en_UK'); -define('PHPWG_DEFAULT_TEMPLATE', 'yoga/Sylvia'); +define('PHPWG_DEFAULT_TEMPLATE', 'Sylvia'); + +define('PHPWG_THEMES_PATH', $conf['themes_dir'].'/'); // Required versions define('REQUIRED_PHP_VERSION', '5.0.0'); @@ -97,5 +99,7 @@ if (!defined('PLUGINS_TABLE')) define('PLUGINS_TABLE', $prefixeTable.'plugins'); if (!defined('OLD_PERMALINKS_TABLE')) define('OLD_PERMALINKS_TABLE', $prefixeTable.'old_permalinks'); +if (!defined('THEMES_TABLE')) + define('THEMES_TABLE', $prefixeTable.'themes'); ?>
\ No newline at end of file |