Verfasst: 08.11.2008 02:24
Hab's verbessert, versuch's nochmal.
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
echo 'timezone = ' . date('Z') / 3600 . '<br>config_board_timezone = ' . $config['board_timezone'];
?>
Also jetzt gibt der Browser mir folgende Meldung:MartectX hat geschrieben:Erstelle eine Datei test.php mit folgendem Inhalt:Lade sie auf Deinen Server ins phpBB3-Verzeichnis und führe sie aus. Was gibt der Browser aus?Code: Alles auswählen
<?php define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup(); echo '$timezone = ' . date('Z') / 3600 . '<br>$config[\'board_timezone\'] = ' . $config['board_timezone']; ?>
Code: Alles auswählen
'user_dst' => (int) $config['board_dst'],
Code: Alles auswählen
'user_dst' => ($config['board_dst']) ? 2 : 0,