wollte grad ein neues Treffen in meinem Meeting Mod hinzufügen, da bekomm ich vom Ctracker immer eine Warnung. Hab dann den Debug-Modus eingeschaltet und die Anweisungen befolgt:
Code: Alles auswählen
<?php
/***************************************************************************
* file_name.php
* -------------------
* copyright : (C) 2004 OXPUS
* email : administrator@oxpus.de
*
***************************************************************************/
/***************************************************************************
*
* 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.
*
***************************************************************************/
// Initiate module
define('IN_PHPBB', true);
define('IN_MEETING', true);
if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['Meeting_admin']['Meeting_add_new'] = $filename.'?mode=add_new';
$module['Meeting_admin']['Meeting_manage'] = $filename.'?mode=manage';
$module['Meeting_admin']['Configuration'] = $filename.'?mode=config';
return;
}
// Let's set the root dir for phpBB
$phpbb_root_path = '../';
$no_page_header = TRUE;
require($phpbb_root_path . 'extension.inc');
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('meeting_subject');
require('./pagestart.' . $phpEx);
include($phpbb_root_path.'language/lang_'.$board_config['default_lang'].'/lang_meeting.'.$phpEx);
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
include($phpbb_root_path . 'includes/functions_post.'.$phpEx);
// Check and set various parameters
Hat jemand ne Ahnung??? Ich komm grad net klar...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Script-Filename: /admin/admin_meeting.php
----------------
Request-Method: POST
Matching rule: id
In variable: meeting_subject
Possible solution:
------------------
#
#-----[ OPEN ]------------------------------------------
#
/admin/admin_meeting.php
#
#-----[ FIND ]------------------------------------------
#
require('./pagestart.' . $phpEx);
#
#-----[ BEFORE, ADD ]------------------------------------------
#
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('meeting_subject');
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM