|
From: OryNider <ory...@us...> - 2008-03-10 05:56:47
|
Update of /cvsroot/mxbb/mx_kb/kb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21431/mx_kb/kb/includes Modified Files: Tag: core28x kb_constants.php Log Message: this is a fix. Index: kb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/includes/kb_constants.php,v retrieving revision 1.7.2.2 retrieving revision 1.7.2.3 diff -C2 -d -r1.7.2.2 -r1.7.2.3 *** kb_constants.php 8 Mar 2008 15:19:19 -0000 1.7.2.2 --- kb_constants.php 10 Mar 2008 05:56:38 -0000 1.7.2.3 *************** *** 56,59 **** --- 56,69 ---- define( 'CHECKBOX', 5 ); + if (!MXBB_MODULE) + { + if (!defined( 'IN_ADMIN' )) + { + $mx_user->set_module_cfg_name('linkdb'); + $mx_user->set_module_lang_path($module_root_path . 'linkdb/'); + $mx_user->extend(); + } + } + // ------------------------------------------------------------------------- // Footer Copyrights *************** *** 63,74 **** $kb_module_version = "Knowledge Base MOD v. 0.9.0"; $kb_module_author = "Jon Ohlsson"; ! $kb_module_orig_author = "wGEric"; ! ! if (!defined( 'IN_ADMIN' )) ! { ! $mx_user->set_module_cfg_name('kb'); ! $mx_user->set_module_lang_path($module_root_path . 'kb/'); ! $mx_user->extend(); ! } } else --- 73,77 ---- $kb_module_version = "Knowledge Base MOD v. 0.9.0"; $kb_module_author = "Jon Ohlsson"; ! $kb_module_orig_author = "wGEric"; } else |