|
From: Jon O. <jon...@us...> - 2005-04-05 20:52:39
|
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2051/modules/mx_kb Modified Files: kb.php Log Message: forgot a bunch of switches for the core 2.7.x branch :( Index: kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** kb.php 1 Apr 2005 23:33:52 -0000 1.16 --- kb.php 5 Apr 2005 20:52:30 -0000 1.17 *************** *** 23,26 **** --- 23,30 ---- if ( !function_exists( 'read_block_config' ) ) { + if ( MXBB_27x ) + { + mx_message_die(GENERAL_MESSAGE, 'This module does not support standalone usage. In the adminCP, add the kb block to a portal page'); + } define( 'IN_PORTAL', true ); $mx_root_path = '../../'; *************** *** 120,123 **** --- 124,128 ---- } + define('MXBB_MODULE', true); define('MXBB_27x', true); |