Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 13243 by niro, Tue Jul 9 15:21:55 2019 UTC revision 13244 by niro, Wed Jul 10 08:20:35 2019 UTC
# Line 3  Line 3 
3  include("error.php");  include("error.php");
4  include("config.inc.php");  include("config.inc.php");
5    
6  $DBCONN = mysqli_connect($dbhost, $dbuname, $dbpass, $dbname) or die ($error[0]);  if(!isset($DBCONN))
7     $DBCONN = mysqli_connect($dbhost, $dbuname, $dbpass, $dbname) or die ($error[0]);
8    
9  ?>  ?>

Legend:
Removed from v.13243  
changed lines
  Added in v.13244