36 lines
813 B
PHP
36 lines
813 B
PHP
|
<?php
|
||
|
ini_set('display_errors', 1);
|
||
|
ini_set('display_startup_errors', 1);
|
||
|
error_reporting(E_ALL);
|
||
|
date_default_timezone_set("Europe/Paris");
|
||
|
set_include_path(get_include_path() . ':../include');
|
||
|
|
||
|
define( 'EOL', "\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";
|
||
|
$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/";
|
||
|
//$url_admin = $base_url . "/admin";
|
||
|
$accueil = $base_url . "/index.html";
|
||
|
|
||
|
if ( !isset( $_SESSION['base_url']) )
|
||
|
{
|
||
|
$_SESSION['base_url'] = $base_url;
|
||
|
}
|
||
|
|
||
|
?>
|