[ticket/269] Move definition of portal tables to services file

B3P-269
This commit is contained in:
Marc Alexander
2014-06-27 17:38:43 +02:00
parent 4a7f5e6ed8
commit 87bf71684d
5 changed files with 15 additions and 12 deletions

View File

@@ -7,18 +7,9 @@
*
*/
if (!defined('IN_PHPBB'))
{
exit;
}
global $table_prefix;
// Config constants
define('B3_MODULE_DISABLED', 0);
define('B3_MODULE_ENABLED', 1);
// Tables and paths
define('PORTAL_ROOT_PATH', 'portal/');
define('PORTAL_MODULES_TABLE', $table_prefix . 'portal_modules');
define('PORTAL_CONFIG_TABLE', $table_prefix . 'portal_config');