Mais ensuite j'ai du loupé une étape pour la 0.2.2
Dans le fichier "0.2.0_0.2.2_Advanced_UpdateFR.txt"
Pour la modif dans phpbb_seo_class.php il y a:
- Code: Tout sélectionner
// --> DOMAIN SETTING <-- //
// NOTE : If you add already declared a PHPBB_URL constant in common.php,
// you should get rid of it and let this part do it instead.
// You can hard-code the data to save process.
$server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://';
$server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name']));
$server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : '';
$script_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path']));
$script_name = ($script_name == '') ? '' : $script_name . '/';
// Domain URL
define ('ROOT_URL', $server_protocol . $server_name . $server_port . '/');
// PHPBB_SCRIPT should be = '' if phpbb is installed in the domain's root
// 'phpbb/' in case it's installed in the phpbb/ folder.
define ('PHPBB_SCRIPT', $script_name);
define ('PHPBB_URL', ROOT_URL . PHPBB_SCRIPT);
Moi j'ai:
- Code: Tout sélectionner
// --> DOMAIN SETTING <-- //
// NOTE : If you add already declared a PHPBB_URL constant in common.php,
// you should get rid of it and let this part do it instead.
// You can hard-code the data to save process.
$server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://';
$server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name']));
$server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : '';
// $this->seo_path['phpbb_script'] should be = '' if phpbb is installed in the domain's root
// 'phpbb/' in case it's installed in the phpbb/ folder.
$this->seo_path['phpbb_script'] = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path']));
$this->seo_path['phpbb_script'] = ($this->seo_path['phpbb_script'] == '') ? '' : $this->seo_path['phpbb_script'] . '/';
// Domain URL
$this->seo_path['root_url'] = $server_protocol . $server_name . $server_port . '/';
$this->seo_path['phpbb_url'] = $this->seo_path['root_url'] . $this->seo_path['phpbb_script'];
Du coup qu'es que j'ai raté? j'efface rien parce que c'est déja la bonne version ? car en haut est marqué :
- Code: Tout sélectionner
* @version $Id: phpbb_seo_class.php, 0.2.2 2007/02/07 13:48:48 dcz Exp $

Français |
Anglais

