|
From: FlorinCB <ory...@us...> - 2009-09-28 11:24:38
|
Update of /cvsroot/mxbb/core In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14876 Modified Files: common.php Added Files: robots.txt Log Message: update Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.111 retrieving revision 1.112 diff -C2 -d -r1.111 -r1.112 *** common.php 29 Jul 2009 06:31:37 -0000 1.111 --- common.php 28 Sep 2009 11:24:28 -0000 1.112 *************** *** 18,23 **** // To be able to include phpBB functions/methods // ! define('IN_PHPBB', 1); ! define('PHPBB_INSTALLED', true); --- 18,23 ---- // To be able to include phpBB functions/methods // ! @define('IN_PHPBB', 1); ! @define('PHPBB_INSTALLED', true); *************** *** 39,43 **** @session_cache_expire (1440); @set_time_limit (0); ! include($mx_root_path . 'modules/mx_shared/ErrorHandler/prepend.' . $phpEx); // For nice error output // ================================================================================ --- 39,43 ---- @session_cache_expire (1440); @set_time_limit (0); ! //include($mx_root_path . 'modules/mx_shared/ErrorHandler/prepend.' . $phpEx); // For nice error output // ================================================================================ *************** *** 224,227 **** --- 224,228 ---- $mx_cache->load_backend(); + //Temp fix for timezone if (@function_exists('date_default_timezone_set') && @function_exists('date_default_timezone_get')) *************** *** 299,303 **** // Show 'Board is disabled' message if needed. // ! if( $portal_config['board_disable'] && !defined("IN_ADMIN") && !defined("IN_LOGIN") ) { mx_message_die(GENERAL_MESSAGE, 'Board_disable', 'Information'); --- 300,304 ---- // Show 'Board is disabled' message if needed. // ! if($portal_config['board_disable'] && !defined("IN_ADMIN") && !defined("IN_LOGIN")) { mx_message_die(GENERAL_MESSAGE, 'Board_disable', 'Information'); --- NEW FILE: robots.txt --- User-agent: msnbot User-agent: googlebot User-agent: yahoo! slurp User-agent: Slurp User-agent: lycosbot Disallow: /admin Disallow: /cache Disallow: /config Disallow: /include Disallow: /install Disallow: /modules User-agent: * Disallow: /admin Disallow: /cache Disallow: /config Disallow: /include Disallow: /install Disallow: /modules |