confiiig
This commit is contained in:
1 parent
ea2e14db0f
commit
5bb7039210
3 files changed
+13
-2
No files matched your search
+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);
|
||||
|
||||
Reference in new issue
Block a user