ajout de la gestion du sous-domaine dev\ntypo dans db.class.php
This commit is contained in:
parent
276a21b3a3
commit
d3f8d78b73
@ -20,8 +20,18 @@ $site = "Avion Poème";
|
||||
$dossier = "/www";
|
||||
$basedir = dirname($_SERVER['DOCUMENT_ROOT']) . $dossier;
|
||||
|
||||
$base_url = "https://avion-poe.me";
|
||||
$base_path = "/flex/storage/avion-poe.me/site/www/";
|
||||
$testMode = true;
|
||||
|
||||
if ($testMode)
|
||||
{
|
||||
$base_url = "https://avion-poe.me";
|
||||
$base_path = "/flex/storage/avion-poe.me/site/www/";
|
||||
}else
|
||||
{
|
||||
$base_url = "https://dev.avion-poe.me";
|
||||
$base_path = "/flex/storage/avion-poe.me/site/dev/";
|
||||
}
|
||||
|
||||
$url_admin = $base_url . "/gestion";
|
||||
$accueil = $base_url . "/index.html";
|
||||
if (empty($_SERVER["PHP_AUTH_USER"])) {
|
||||
|
@ -133,7 +133,6 @@ class db
|
||||
$this->urlAvion = $base_url . "/?avionpoeme=" . $this->uid;
|
||||
$this->newPeripetie();
|
||||
courrielEnvoi($this);
|
||||
|
||||
}
|
||||
|
||||
function getPlane($uid)
|
||||
|
Reference in New Issue
Block a user