[Customisation Database Commits] r732 - /trunk/titania/common.php
Nathan Guse
exreaction at phpbb.com
Sat Mar 13 03:12:05 GMT 2010
Author: exreaction
Date: Sat Mar 13 03:12:05 2010
New Revision: 732
Log:
Prevent issues when running the installer with UMIL calling our message handler which uses a different template path
Modified:
trunk/titania/common.php
Modified: trunk/titania/common.php
==============================================================================
*** trunk/titania/common.php (original)
--- trunk/titania/common.php Sat Mar 13 03:12:05 2010
***************
*** 19,26 ****
// Version number (only used for the installer)
define('TITANIA_VERSION', '0.1.45');
- define('PHPBB_MSG_HANDLER', 'titania_msg_handler');
define('PHPBB_USE_BOARD_URL_PATH', true);
// Include core classes
require(TITANIA_ROOT . 'includes/core/phpbb.' . PHP_EXT);
--- 19,29 ----
// Version number (only used for the installer)
define('TITANIA_VERSION', '0.1.45');
define('PHPBB_USE_BOARD_URL_PATH', true);
+ if (!defined('IN_TITANIA_INSTALL'))
+ {
+ define('PHPBB_MSG_HANDLER', 'titania_msg_handler');
+ }
// Include core classes
require(TITANIA_ROOT . 'includes/core/phpbb.' . PHP_EXT);
More information about the customisationdb-commits
mailing list