1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__avion-poeme/include/config.inc.php

40 lines
886 B
PHP

<?php
define('EOL', "\n");
define('EOLH', "<br>\n");
define('LF', "\r\n");
define('TAB', "\t");
//constantes des niveaux de log
define("INFO", 1);
define("ALERT", 2);
define("ERROR", 3);
define("RESULTS_BY_PAGE", 20); //Nombre de ligne d'anthologie par page
define("DATE_MYSQL", "Y-m-d H:i:s");
//variables diverses
$admin = "Daniel";
$webmaster = "dtux@free.fr";
$site = "Avion Poème";
$dossier = "/www";
$basedir = dirname($_SERVER['DOCUMENT_ROOT']) . $dossier;
$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"])) {
$_SERVER["PHP_AUTH_USER"] = 'script';
}