Code : Tout sélectionner
Ouvrez topics_anywhere.php avec votre éditeur HTML ou le Bloc-notes (évitez les éditeurs tels que FrontPage).
Modifiez les variables situées en haut du document, notamment le chemin d'installation de phpBB2 (dans la version 1.10, il n'est pas nécessaire de modifier ces variables). Code : Tout sélectionner
$server_protocol = ($board_config['cookie_secure']) ? 'http://virusattackclub.free.fr/Forum/index.php' : 'http://virusattackclub.free.fr/Forum/index.php';
$server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['virusattackclub']));
$server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : '';
$script_location = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path']));
$script_location = ($script_location == '') ? $script_location : '/' . $script_location;
$full_url = $server_protocol . $server_name . $server_port . $script_location;