Added constants file and removed constants.php edit;

Added links to main menu installation; 
Added ability to handle language variables as link title;
This commit is contained in:
Marc Alexander
2010-10-01 11:52:05 +00:00
parent 8e11e32347
commit d78c37a4ee
6 changed files with 83 additions and 31 deletions

View File

@@ -0,0 +1,25 @@
<?php
/**
* @package Portal
* @version $Id$
* @copyright (c) 2009, 2010 Board3 Portal Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*/
if (!defined('IN_PHPBB'))
{
exit;
}
global $table_prefix;
// Config constants
define('B3_LINKS_CAT', 0);
define('B3_LINKS_INT', 1);
define('B3_LINKS_EXT', 2);
// Tables and paths
define('PORTAL_ROOT_PATH', 'portal/');
define('PORTAL_MODULES_TABLE', $table_prefix . 'portal_modules');
?>