[修正]admin_hacks_list/kb_constants/pafiledb_constants
發表於 : 2006-06-11 02:41
如果你是在2006/6/1以後才到這邊下載的,那就不要理會這三個修正了
如果不放心的話,請到這邊下載
http://www.gffclan.com/dload.php?action=file&file_id=8
打開
找到
在這段後面加入
打開
找到
在後面加上
打開
找到
用以下這段取代
如果不放心的話,請到這邊下載
http://www.gffclan.com/dload.php?action=file&file_id=8
打開
代碼: 選擇全部
pafiledb/includes/pafiledb_constants.php找到
代碼: 選擇全部
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/ 代碼: 選擇全部
if ( !defined('IN_PHPBB') )
{
die ("Hacking attempt!");
}打開
代碼: 選擇全部
includes/kb_constants.php找到
代碼: 選擇全部
// ---------------------------------------------------------------------START
// This file defines specific constants for the module代碼: 選擇全部
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}代碼: 選擇全部
admin/admin_hacks_list.php找到
代碼: 選擇全部
$phpbb_root_path = '../';
if( !empty($setmodules) )
{
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_hacks_list.' . $phpEx);
$filename = basename(__FILE__);
$module['General']['Hacks_List'] = $filename;
return;
}
include($phpbb_root_path . 'extension.inc');
(file_exists('pagestart.' . $phpEx)) ? include('pagestart.' . $phpEx) : include('pagestart.inc');代碼: 選擇全部
if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['General']['Hacks_List'] = $filename;
return;
}
$phpbb_root_path = './../';
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);