egal
This commit is contained in:
1 parent
d58d9909a9
commit
eea67b0ebe
1 file changed
+4
-1
+4
-1
@@ -6,7 +6,10 @@ define('DB_USERNAME', 'bruno');
|
|||||||
define('DB_PASSWORD', 'bruno-zehn');
|
define('DB_PASSWORD', 'bruno-zehn');
|
||||||
define('DB_NAME', 'voctrain');
|
define('DB_NAME', 'voctrain');
|
||||||
|
|
||||||
require_once("./local-config.php");
|
myLocalConf='./local-config.php';
|
||||||
|
|
||||||
|
if (is_file($myLocalConf))
|
||||||
|
require_once($myLocalConf);
|
||||||
|
|
||||||
/* Attempt to connect to MySQL database */
|
/* Attempt to connect to MySQL database */
|
||||||
$link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
|
$link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
|
||||||
|
|||||||
Reference in new issue
Block a user