|
From: Jon O. <jon...@us...> - 2008-06-15 09:15:51
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12672/includes/sessions/phpbb3 Modified Files: constants.php session.php Log Message: No panic, only cosmetics, file headers and newlines etc... ;) Index: constants.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/constants.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** constants.php 11 Feb 2008 12:09:00 -0000 1.2 --- constants.php 15 Jun 2008 09:15:44 -0000 1.3 *************** *** 1,21 **** <?php ! /** * ! * @package phpBB3 * @version $Id$ ! * @copyright (c) 2005 phpBB Group ! * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */ - if ( !defined('IN_PORTAL') ) - { - die("Hacking attempt"); - } - /** * Modifications: * define -> @define ! * to supress any notices since in mx_constants.php some are allready @@defined */ --- 1,17 ---- <?php ! /** * ! * @package Style * @version $Id$ ! * @copyright (c) 2002-2008 MX-Publisher Project Team ! * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 ! * @link http://www.mx-publisher.com * */ /** * Modifications: * define -> @define ! * to supress any notices since in mx_constants.php some are allready @@defined */ *************** *** 164,171 **** @define('FIELD_DATE', 6); - // Additional constants - // Table names @define('ACL_GROUPS_TABLE', $table_prefix . 'acl_groups'); --- 160,165 ---- *************** *** 234,237 **** // Additional tables - ?> \ No newline at end of file --- 228,230 ---- Index: session.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** session.php 15 Jun 2008 00:12:21 -0000 1.14 --- session.php 15 Jun 2008 09:15:44 -0000 1.15 *************** *** 2,9 **** /** * ! * @package phpBB3 * @version $Id$ ! * @copyright (c) 2005 phpBB Group ! * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */ --- 2,10 ---- /** * ! * @package Style * @version $Id$ ! * @copyright (c) 2002-2008 MX-Publisher Project Team & (C) 2005 The phpBB Group ! * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 ! * @link http://www.mx-publisher.com * */ *************** *** 14,25 **** } ! /****************************************************************** ! * MODIFICATIONS ! * --------------- ! * started : Saturday, November 17, 2007 ! * copyright : © phpBB Group, mxP Development Team ! * email : ory...@rd... ! * ! * MODIFICATIONS: * - replaced $config -> $board_config - by Jon * - replaced $cache = new mx_nothing(); to disable bots() - by Jon --- 15,20 ---- } ! /** ! * Modifications: * - replaced $config -> $board_config - by Jon * - replaced $cache = new mx_nothing(); to disable bots() - by Jon *************** *** 28,47 **** * $auth -> $phpbb_auth - by OryNider * -new globals: $mx_root_path, $mx_cache - by OryNider ! * $this->lang_name was redefined to use in ! * worst case the new $board_config['phpbb_lang'] ! * wich was defined in mx_functions_style.php * before lang name is expanded - by OryNider * $template = new mx_Template(); - by OryNider ! * - before $this->add_lang($lang_set); the phpBB common language is included * if fails with $phpbb_root_path added * - in function set_lang() ! * - if empty $this->lang_path will be redefined ! * from $phpbb_root_path and new $board_config['phpbb_lang'] ! * wich in this case are set as globals - by OryNider * (similar check has been added in the phpBB3 version too) ! * - added function images() to help redefining $images var * and indexes were is needed - by OryNider ! *******************************************************************/ class mx_nothing { --- 23,46 ---- * $auth -> $phpbb_auth - by OryNider * -new globals: $mx_root_path, $mx_cache - by OryNider ! * $this->lang_name was redefined to use in ! * worst case the new $board_config['phpbb_lang'] ! * wich was defined in mx_functions_style.php * before lang name is expanded - by OryNider * $template = new mx_Template(); - by OryNider ! * - before $this->add_lang($lang_set); the phpBB common language is included * if fails with $phpbb_root_path added * - in function set_lang() ! * - if empty $this->lang_path will be redefined ! * from $phpbb_root_path and new $board_config['phpbb_lang'] ! * wich in this case are set as globals - by OryNider * (similar check has been added in the phpBB3 version too) ! * - added function images() to help redefining $images var * and indexes were is needed - by OryNider ! */ + /** + * Disable bots + * + */ class mx_nothing { |