mirror of
https://github.com/kevachat/npsapp.git
synced 2025-01-15 01:20:31 +00:00
format global variables
This commit is contained in:
parent
7493b4db55
commit
eed6fd1d9f
@ -46,8 +46,8 @@ $server->setWelcome(
|
||||
string $connect
|
||||
): ?string
|
||||
{
|
||||
global $config;
|
||||
global $session;
|
||||
global $config,
|
||||
$session;
|
||||
|
||||
// Cleanup expired sessions
|
||||
foreach ($session as $key => $value)
|
||||
@ -149,8 +149,8 @@ $server->setPending(
|
||||
string $connect
|
||||
): ?string
|
||||
{
|
||||
global $config;
|
||||
global $session;
|
||||
global $config,
|
||||
$session;
|
||||
|
||||
// Filter request
|
||||
$request = trim(
|
||||
@ -214,8 +214,8 @@ $server->setHandler(
|
||||
string $connect
|
||||
): ?string
|
||||
{
|
||||
global $config;
|
||||
global $session;
|
||||
global $config,
|
||||
$session;
|
||||
|
||||
// Filter request
|
||||
$request = trim(
|
||||
|
Loading…
x
Reference in New Issue
Block a user