trashbin/include/config.inc.php.dist

29 lines
681 B
Plaintext

<?php
require_once($BASE_DIR."include/functions.inc.php");
require_once($BASE_DIR."include/mysql.class.php");
$db = new MySQL();
$db->set("SERVER", "USER", "PASSWORD", "DATABASE");
$db->connect();
/* Keine aenderungen ab hier notwendig */
header("Pragma: no-cache");
header("Expires: 0");
header("Cache-control: no-cache,must-revalidate,no-store");
$uploaddir = "files/";
$com_path = dirname($_SERVER['SCRIPT_NAME']);
if($com_path == "/") $com_path = "";
if(strlen($_SERVER['HTTPS']) > 0) {
$base_url = "https://{$_SERVER['SERVER_NAME']}{$com_path}/";
}
else {
$base_url = "http://{$_SERVER['SERVER_NAME']}{$com_path}/";
}
?>