style: clean up string concatenation in config_loader.php
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/a3e1e4bb-8eb1-4e6e-b1f8-7f3952301231 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
1247e5e7ca
commit
fcc54cb2da
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ $projectRoot = realpath(__DIR__ . '/../../..');
|
||||||
if ($projectRoot !== false) {
|
if ($projectRoot !== false) {
|
||||||
$panelConfig = $projectRoot . '/includes/config.inc.php';
|
$panelConfig = $projectRoot . '/includes/config.inc.php';
|
||||||
} else {
|
} else {
|
||||||
$panelConfig = __DIR__ . '/../../..' . '/includes/config.inc.php';
|
$panelConfig = __DIR__ . '/../../../includes/config.inc.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($panelConfig && is_readable($panelConfig)) {
|
if ($panelConfig && is_readable($panelConfig)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue