confiiig
This commit is contained in:
1 parent
ea2e14db0f
commit
5bb7039210
3 files changed
+13
-2
No files matched your search
+1
-1
@@ -1 +1 @@
|
||||
local-config.php
|
||||
|
||||
+4
-1
@@ -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);
|
||||
|
||||
@@ -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');
|
||||
/* */
|
||||
?>
|
||||
Reference in new issue
Block a user