dbconfig athelyezese
[certwatch.git/.git] / functions.php
index b2b2e9c..062939a 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 
-include('dbconfig.php');
+include('/var/www/certwatch.niif.hu/include/dbconfig.php');
 
 $conn = mysql_connect (DBHOST, DBUSER, DBPASSWD);
-mysql_select_db(DBNAME, $conn);
+mysql_select_db(DBNAME, $conn) or die(mysql_error());
 
 $errorMessages = array(
     "mail" => array(