This commit is contained in:
br committed 2023-01-03 17:43:25 +01:00
1 parent ea2e14db0f
commit 5bb7039210
3 files changed
+13 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
local-config.php
+4 -1
View File
@@ -6,7 +6,10 @@ define('DB_USERNAME', 'bruno');
define('DB_PASSWORD', 'bruno-zehn');
define('DB_NAME', 'phptest');
require_once("./local-config.php");
define ('myLocalConf','./local-config.php');
if (is_file(myLocalConf)) {
require_once(myLocalConf); }
/* Attempt to connect to MySQL database */
$link = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_NAME);
+8
View File
@@ -0,0 +1,8 @@
<?php
/* lokal -/
define('DB_SERVER', 'db3.rack1.everdc.de');
define('DB_USERNAME', 'bruno');
define('DB_PASSWORD', 'bruno-zehn');
define('DB_NAME', 'phptest');
/* */
?>