6c8c96934c
Signed-off-by: Daniel Tartavel <contact@librepc.com>
41 lines
962 B
PHP
Executable File
41 lines
962 B
PHP
Executable File
|
|
<?php
|
|
|
|
date_default_timezone_set("Europe/Paris");
|
|
|
|
define( 'EOL', "\n");
|
|
define( 'TAB', "\t");
|
|
|
|
//constantes des niveaux de log
|
|
define( "INFO", 1);
|
|
define( "ALERT", 2);
|
|
define( "ERROR", 3);
|
|
|
|
// initialise le user si accès authentifié
|
|
/*if ( isset( $_SERVER['PHP_AUTH_USER']) )
|
|
{
|
|
$user = $_SERVER['PHP_AUTH_USER'];
|
|
}*/
|
|
// création de l'objet base de donnée, mais pas ouverture de la base
|
|
|
|
//variables diverses
|
|
//$admin = "Daniel";
|
|
//$site = "Espace Tuina";
|
|
//$dossier = "/espacetuina";
|
|
//$basedir = dirname( $_SERVER['DOCUMENT_ROOT'] ) . $dossier;
|
|
//$lang_basedir = $basedir . "/languages/";
|
|
//$base_url = "https://librepc.homelinux.org" . $dossier;
|
|
//$url_gestion = $base_url . "/gestion";
|
|
//$url_admin = $base_url . "/outils";
|
|
//$alias = "et";
|
|
//$table_prefix = ""; //$alias . "_";
|
|
//$lang_list[] = array();
|
|
//$lang_dir = '';
|
|
|
|
//$_SESSION['basedir'] = $basedir;
|
|
//$_SESSION['base_url'] = $base_url;
|
|
|
|
//set_include_path("./");
|
|
|
|
?>
|