|
From: Jon O. <jon...@us...> - 2008-03-13 19:16:28
|
Update of /cvsroot/mxbb/mx_simpledoc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4590 Modified Files: mx_simpledoc.php Log Message: enable_module bugfix Index: mx_simpledoc.php =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/mx_simpledoc.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mx_simpledoc.php 15 Feb 2008 22:15:58 -0000 1.4 --- mx_simpledoc.php 13 Mar 2008 19:16:24 -0000 1.5 *************** *** 59,65 **** // =================================================== ! // if the database disabled give them a nice message // =================================================== ! if ( intval( $simpledoc_config['module_enable'] ) ) { mx_message_die( GENERAL_MESSAGE, $lang['simpledoc_disable'] ); --- 59,65 ---- // =================================================== ! // if the module is disabled give them a nice message // =================================================== ! if (!($simpledoc_config['enable_module'] || $mx_user->is_admin)) { mx_message_die( GENERAL_MESSAGE, $lang['simpledoc_disable'] ); |