ich habe einen neuen Mod eingebaut und bekomme nun folgende Fehlermeldung:
Code: Alles auswählen
phpBB : Kritischer Fehler
Could not open phpbbSilver template config file
DEBUG MODE
Line : 572
File : /usr/local/apache/www/web34/html/test_phpBB/includes/functions.php
Mein Template ist aber subSilver und nicht phpBBsilver.
Das steht in der funktion.php
$template_path = 'templates/' ;
$template_name = $row['template_name'] ;
$template = new Template($phpbb_root_path . $template_path . $template_name);
if ( $template )
{
$current_template_path = $template_path . $template_name;
@include($phpbb_root_path . $template_path . $template_name . '/' . $template_name . '.cfg');
if ( !defined('TEMPLATE_CONFIG') )
{
message_die(CRITICAL_ERROR, "Could not open $template_name template config file", '', __LINE__, __FILE__);
}
$img_lang = ( file_exists(@phpbb_realpath($phpbb_root_path . $current_template_path . '/images/lang_' . $board_config['default_lang'])) ) ? $board_config['default_lang'] : 'german';
while( list($key, $value) = @each($images) )
{
if ( !is_array($value) )
{
$images[$key] = str_replace('{LANG}', 'lang_' . $img_lang, $value);
}
}
}
Wo kann ich das template änder???