dbconfig athelyezese master
authorSitya - certwatch <sitya@niif.hu>
Wed, 27 Nov 2013 08:05:03 +0000 (09:05 +0100)
committercertwatch.niif.hu privileged <certwatch.niif.hu@ftp.pws.niif.hu>
Wed, 27 Nov 2013 08:05:49 +0000 (09:05 +0100)
functions.php

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