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__nextcloudconnector4do.../config.inc.php
Daniel Tartavel 6c8c96934c first commit
Signed-off-by: Daniel Tartavel <contact@librepc.com>
2019-08-31 11:31:29 +02:00

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("./");
?>