1
0

ajout de la gestion du sous-domaine dev\ntypo dans db.class.php

This commit is contained in:
Daniel Tartavel 2022-02-02 15:31:46 +01:00
parent 276a21b3a3
commit d3f8d78b73
2 changed files with 12 additions and 3 deletions

View File

@ -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"])) {

View File

@ -133,7 +133,6 @@ class db
$this->urlAvion = $base_url . "/?avionpoeme=" . $this->uid;
$this->newPeripetie();
courrielEnvoi($this);
}
function getPlane($uid)