Détection automatique de l'URL de base du site.
This commit is contained in:
parent
a8763e5c2f
commit
775483b678
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue
Block a user