Stripped from the internal repo: per-box deploy trees, Go services (nodelist/astmeta/proxy/svxdr), deploy/sync scripts and all secrets. Config templates for nginx, PHP-FPM, Redis and tmpfiles live in install/ with CHANGEME placeholders. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
15 lines
352 B
PHP
15 lines
352 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
require __DIR__ . '/lib.php';
|
|
|
|
start_session();
|
|
$_SESSION = [];
|
|
if (ini_get('session.use_cookies')) {
|
|
$p = session_get_cookie_params();
|
|
setcookie(session_name(), '', time()-3600, $p['path'] ?? '/', $p['domain'] ?? '', (bool)($p['secure'] ?? false), true);
|
|
}
|
|
session_destroy();
|
|
|
|
header('Location: /svxportal/');
|
|
exit;
|