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 ! }