added config to update.php

highcharts
agp8x 2014-08-26 21:49:22 +02:00
parent 60e0a722fd
commit 1dab64041e
1 changed files with 2 additions and 1 deletions

View File

@ -1,10 +1,11 @@
<?php
#v1.3
include('config.php');
include('lib/DBLib.php');
include('function.php');
$db=new DBLib();
$db->connect('localhost','temp','temppw','temp');#lokal
$db=new DBLib($database['host'],$database['user'],$database['password'],$database['database']);
$dir=scandir('data');
$temp=$humi=$ambi=$baro=0;