mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-08 13:13:20 -04:00
17 lines
298 B
PHP
17 lines
298 B
PHP
<?php
|
|
/** @phpstan-var ?\Gazelle\User $Viewer */
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Gazelle;
|
|
|
|
if (!$Viewer || $Viewer->isLocked()) {
|
|
include_once 'webirc_disabled.php';
|
|
exit;
|
|
}
|
|
|
|
require_once match ($_REQUEST['action'] ?? '') {
|
|
'webirc' => 'webirc.php',
|
|
default => 'join.php',
|
|
};
|