30 lines
640 B
PHP
30 lines
640 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( "DATE_MYSQL", "Y-m-d H:i:s" );
|
|
|
|
//variables diverses
|
|
$admin = "Daniel";
|
|
$webmaster = "contact@lalis.fr";
|
|
$site = "Lalis";
|
|
$dossier = "/sftp";
|
|
$basedir = dirname( $_SERVER['DOCUMENT_ROOT'] ) . $dossier;
|
|
|
|
$base_url = "https://lalis69.ddns.net:10443";
|
|
$url_admin = $base_url . "/gestionsite";
|
|
$accueil = $base_url . "/index.html";
|
|
if (empty( $_SERVER["PHP_AUTH_USER"]))
|
|
{
|
|
$_SERVER["PHP_AUTH_USER"] = 'script';
|
|
}
|
|
?>
|