F-002 fix: Remove secrets and externalize config
This commit is contained in:
11
project/web/index/new/db/conn.php
Normal file
11
project/web/index/new/db/conn.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__DIR__) . '/bootstrap.php';
|
||||
|
||||
$con = legacy_new_mysqli();
|
||||
|
||||
if ($con->connect_errno) {
|
||||
echo 'Failed to connect to MySQL.';
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user