www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 775483b6780539bd1ec3982aae9b9ed94b9dfb65
parent a8763e5c2fa2b7317412b6ea2c467f58fd64c32f
Author: Georges Dupéron <jahvascriptmaniac+github@free.fr>
Date:   Fri,  2 Jul 2010 18:30:55 +0200

Détection automatique de l'URL de base du site.

Diffstat:
Mconfig.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.php b/config.php @@ -2,7 +2,7 @@ require_once("util.php"); -$config_url_base = "http://127.0.0.1/2010-moteur-site-simple/"; +$config_url_base = "http://" . $_SERVER[HTTP_HOST] . $_SERVER[REQUEST_URI]; $config_chemin_base = dirname($_SERVER[SCRIPT_FILENAME]); $config_chemin_modele = concaténer_chemin_fs($config_chemin_base, "/modele");