Magellan Linux

Contents of /alx-src/branches/alx-web-070/include/dbconn.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13244 - (show annotations) (download)
Wed Jul 10 08:20:35 2019 UTC (4 years, 10 months ago) by niro
File size: 161 byte(s)
-do not try to connect to the database twice
1 <?
2
3 include("error.php");
4 include("config.inc.php");
5
6 if(!isset($DBCONN))
7 $DBCONN = mysqli_connect($dbhost, $dbuname, $dbpass, $dbname) or die ($error[0]);
8
9 ?>