1
0
mirror of https://github.com/agdsn/ancient-weatherstation.git synced 2026-06-19 23:07:59 +00:00
Files
ancient-weatherstation/webstuff/frontend/php_inc/config.inc.php
T
losinshi 019f35aa87 Config-Module added to frontend
git-svn-id: file:///home/jan/tmp/wetterstation/trunk@36 dd492736-c11a-0410-ad51-8c26713eaf7f
2006-08-22 16:40:01 +00:00

26 lines
504 B
PHP

<?
/* Datenbankverbindung */
$pg_host = "141.30.228.39";
$pg_database = "wetter";
$pg_user = "losinshi";
$pg_pass = "";
/* Default-Werte */
$default_set = "test";
/* Config-Klasse, Bitte nicht ändern! */
class Config{
function getPgConnString(){
global $pg_host,$pg_database,$pg_user,$pg_pass;
return "host=".$pg_host." dbname=".$pg_database." user=".$pg_user." password=".$pg_pass;
}
function getDefaultSet(){
global $default_set;
return $default_set;
}
}
?>