$config_chemin_modele en plus de $config_chemin_base.
This commit is contained in:
parent
35d211a0a3
commit
a8763e5c2f
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
|
||||
require_once("util.php");
|
||||
|
||||
$config_url_base = "http://127.0.0.1/2010-moteur-site-simple/";
|
||||
$config_chemin_base = dirname($_SERVER[SCRIPT_FILENAME]);
|
||||
|
||||
$config_chemin_modele = concaténer_chemin_fs($config_chemin_base, "/modele");
|
||||
?>
|
|
@ -59,8 +59,8 @@ class Page {
|
|||
|
||||
// Renvoie le chemin de la page dans le système de fichiers
|
||||
private function chemin_fs() {
|
||||
global $config_chemin_base;
|
||||
return concaténer_chemin_fs($config_chemin_base, $this->chemin->get());
|
||||
global $config_chemin_modele;
|
||||
return concaténer_chemin_fs($config_chemin_modele, $this->chemin->get());
|
||||
}
|
||||
|
||||
public function liste_enfants() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user