2b9a673912
PHP registration page for AzerothCore with SRP6 salt/verifier generation, Cloudflare Turnstile + honeypot + rate limiting anti-spam, and a WoW-themed landing page with client setup instructions.
20 lines
441 B
PHP
20 lines
441 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
if (session_status() === PHP_SESSION_NONE) {
|
|
session_start([
|
|
'cookie_httponly' => true,
|
|
'cookie_samesite' => 'Lax',
|
|
]);
|
|
}
|
|
|
|
$config = require __DIR__ . '/config.php';
|
|
|
|
require_once __DIR__ . '/Database.php';
|
|
require_once __DIR__ . '/Srp6.php';
|
|
require_once __DIR__ . '/Turnstile.php';
|
|
require_once __DIR__ . '/RateLimiter.php';
|
|
require_once __DIR__ . '/functions.php';
|
|
|
|
return $config;
|