Merge branch 'Panel-unstable' of https://github.com/GameServerPanel/GSP into Panel-unstable
This commit is contained in:
commit
2160fba52e
19 changed files with 369 additions and 0 deletions
|
|
@ -27,6 +27,14 @@ $is_admin = false;
|
|||
if ($is_logged_in) {
|
||||
// load DB credentials
|
||||
require_once(__DIR__ . '/config.inc.php');
|
||||
|
||||
// Variables from config.inc.php (helps IDEs understand scope)
|
||||
/** @var string $db_host Database host */
|
||||
/** @var string $db_user Database user */
|
||||
/** @var string $db_pass Database password */
|
||||
/** @var string $db_name Database name */
|
||||
/** @var string $table_prefix Table prefix for database tables */
|
||||
|
||||
// Prefer reusing an existing $db if present, otherwise open a local connection
|
||||
$menu_db = null;
|
||||
$menu_db_opened = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue