From b27eabf106b5d1cf7ee9e450311ebb53a8123c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Wed, 23 Jun 2010 19:04:01 +0200 Subject: [PATCH] =?UTF-8?q?Encore=20un=20petit=20renommage=20dans=20util.p?= =?UTF-8?q?hp=20(d=C3=A9cid=C3=A9ment=20!!!)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controleur/page.php | 2 +- util.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controleur/page.php b/controleur/page.php index 3e2d010..ecd7fa7 100644 --- a/controleur/page.php +++ b/controleur/page.php @@ -32,7 +32,7 @@ class Page { // Renvoie le chemin de la page dans le système de fichiers private function chemin_fs() { - return concaténer_chemin($config_chemin_base, $this->chemin); + return concaténer_chemin_fs($config_chemin_base, $this->chemin); } public function liste_enfants() { diff --git a/util.php b/util.php index 22561f3..39ab354 100644 --- a/util.php +++ b/util.php @@ -3,7 +3,7 @@ // Fonctions utilitaires. // Concatène deux chemins. -function concaténer_chemin($p1, $p2) { +function concaténer_chemin_fs($p1, $p2) { return $p1 . '/' . $p2; // FIXME : . '/' . n'est pas portable ! }