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

30 lines
736 B
PHP
Raw Permalink Normal View History

2021-03-22 12:20:39 +01:00
<?php
2021-11-11 14:37:27 +01:00
define('EOL', "\n");
define('EOLH', "<br>\n");
define('LF', "\r\n");
define('TAB', "\t");
2021-03-22 12:20:39 +01:00
//constantes des niveaux de log
2021-11-11 14:37:27 +01:00
define("INFO", 1);
define("ALERT", 2);
define("ERROR", 3);
2021-03-22 12:20:39 +01:00
2021-11-11 14:37:27 +01:00
define("RESULTS_BY_PAGE", 20); //Nombre de ligne d'anthologie par page
define("DATE_MYSQL", "Y-m-d H:i:s");
2021-03-22 12:20:39 +01:00
//variables diverses
$admin = "Daniel";
2021-03-23 20:26:52 +01:00
$webmaster = "dtux@free.fr";
2021-03-22 12:20:39 +01:00
$site = "Avion Poème";
$dossier = "/www";
2021-11-11 14:37:27 +01:00
$basedir = dirname($_SERVER['DOCUMENT_ROOT']) . $dossier;
2021-03-22 12:20:39 +01:00
2021-10-30 12:37:27 +02:00
$base_url = "https://avion-poe.me";
2021-03-22 12:20:39 +01:00
$base_path = "/flex/storage/avion-poe.me/site/www/";
2021-04-29 10:32:58 +02:00
$url_admin = $base_url . "/gestion";
2021-03-22 12:20:39 +01:00
$accueil = $base_url . "/index.html";
2021-11-11 14:37:27 +01:00
if (empty($_SERVER["PHP_AUTH_USER"])) {
2021-05-31 12:27:51 +02:00
$_SERVER["PHP_AUTH_USER"] = 'script';
}