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__serveur-vote-lalis/include/config.inc.php

33 lines
703 B
PHP
Raw Normal View History

2021-10-14 17:58:21 +02:00
<?php
define( 'EOL', "\n" );
define( 'EOLH', "<br>\n" );
define( 'LF', "\r\n" );
define( 'TAB', "\t" );
2021-10-17 15:55:05 +02:00
//Log Level constants
2021-10-14 17:58:21 +02:00
define( "INFO", 1 );
define( "ALERT", 2 );
define( "ERROR", 3 );
define( "DATE_MYSQL", "Y-m-d H:i:s" );
2021-10-17 15:55:05 +02:00
//environment variables
2022-09-28 16:23:50 +02:00
$admin = "dtux@free.fr";
2021-10-14 17:58:21 +02:00
$webmaster = "contact@lalis.fr";
$site = "Lalis";
$dossier = "/sftp";
$basedir = dirname( $_SERVER['DOCUMENT_ROOT'] ) . $dossier;
2022-09-26 12:07:31 +02:00
$base_url = "https://lalis69.ddns.net:10443/";
$vote_url = $base_url . "vote/";
$url_admin = $vote_url . "/gestion/";
$accueil = $vote_url . "/index.html";
2021-10-14 17:58:21 +02:00
if (empty( $_SERVER["PHP_AUTH_USER"]))
{
$_SERVER["PHP_AUTH_USER"] = 'script';
}
2022-09-21 14:47:18 +02:00
$webSite = "https://lalis.fr";
2021-10-14 17:58:21 +02:00
?>