no to spróbuj
znadź
Kod:
$template = new Template($phpbb_root_path . $template_path . $template_name);
zmien na
Kod:
$tmp = "/../" . $phpbb_root_path;
$template = new Template($tmp . $template_path . $template_name);
znajdx
Kod:
@include($phpbb_root_path . $template_path . $template_name . '/' . $template_name . '.cfg');
zmien na
Kod:
@include($tmp . $template_path . $template_name . '/' . $template_name . '.cfg');
znajdx
Kod:
$img_lang = ( file_exists(@phpbb_realpath($phpbb_root_path . $current_template_path . '/images/lang_' . $board_config['default_lang'])) ) ? $board_config['default_lang'] : 'english';
zmien na
Kod:
$img_lang = ( file_exists(@phpbb_realpath($tmp . $current_template_path . '/images/lang_' . $board_config['default_lang'])) ) ? $board_config['default_lang'] : 'english';
powinno działac
Autor postu otrzymał pochwałę
AIFM [1%] - kiedyś powstanie