SIMON Master Console Rebuild
True command center for SIMON + WEB360
This rebuild gives you a cleaner production spine: interactive tree, live viewer, guarded editor, dynamic graphics, architecture map, and note storage. It is designed to sit beside your existing
console.php
and become the stronger replacement path.
Dashboard
Tree
Viewer
System Map
File Registry
Notes
Files
15,026
Folders
377
Scanned Size
3.79 GB
PHP Files
791
Editable Text Files
12,310
File viewer
guarded to /htdocs
/tools/_debug_gate.php
<?php declare(strict_types=1); require_once __DIR__ . '/_bootstrap.php'; date_default_timezone_set('America/Chicago'); require_once __DIR__ . '/../guardian/tracker.php'; guardian_track_event('admin_page_view', [ 'page' => '/simon/master_eco.php', 'title' => 'SIMON Master Eco', 'area' => 'admin', 'classification' => 'protected_admin', ]); header('Content-Type: text/html; charset=utf-8'); header('X-Robots-Tag: noindex, nofollow, nosnippet, noarchive'); function h(string $s): string { return htmlspecialchars($s, ENT_QUOTES, 'UTF-8'); } $envHasCode = (string)($_SERVER['HAS_CODE'] ?? ''); $envHasCookie = (string)($_SERVER['HAS_COOKIE'] ?? ''); $q = (string)($_SERVER['QUERY_STRING'] ?? ''); $cookie = (string)($_SERVER['HTTP_COOKIE'] ?? ''); $uri = (string)($_SERVER['REQUEST_URI'] ?? ''); $host = (string)($_SERVER['HTTP_HOST'] ?? ''); $ip = (string)($_SERVER['REMOTE_ADDR'] ?? ''); $cookieOk = (bool)preg_match('~(^|;\s*)SIMONTOOLS=ok(;|$)~i', $cookie); $codePresent = (bool)preg_match('~(^|&)(code|access|safelink)=8703088682(&|$)~i', $q); ?> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"> <title>SIMON Tools Gate — Debug</title> <style> body{margin:0;background:#070b16;color:#eaf2ff;font:14px/1.5 system-ui,Segoe UI,Roboto,Arial} .wrap{max-width:980px;margin:0 auto;padding:18px} .card{border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:16px;background:rgba(255,255,255,.06)} h1{margin:0 0 10px;font-size:22px} .row{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;padding:8px 0;border-top:1px solid rgba(255,255,255,.08)} .k{opacity:.75;font-weight:700} .v{font-family:ui-monospace,Menlo,Consolas,monospace;max-width:72ch;word-break:break-all} .ok{color:#53ffa8} .bad{color:#ff6b8f} a{color:#9fd6ff} </style> </head> <body> <div class="wrap"> <div class="card"> <h1>SIMON Tools Gate — Debug</h1> <div class="row"><div class="k">Host</div><div class="v"><?= h($host) ?></div></div> <div class="row"><div class="k">IP</div><div class="v"><?= h($ip) ?></div></div> <div class="row"><div class="k">URI</div><div class="v"><?= h($uri) ?></div></div> <div class="row"> <div class="k">Query has valid code</div> <div class="v <?= $codePresent ? 'ok' : 'bad' ?>"><?= $codePresent ? 'YES' : 'NO' ?></div> </div> <div class="row"> <div class="k">Cookie SIMONTOOLS=ok present</div> <div class="v <?= $cookieOk ? 'ok' : 'bad' ?>"><?= $cookieOk ? 'YES' : 'NO' ?></div> </div> <div class="row"><div class="k">Apache env HAS_CODE</div><div class="v"><?= h($envHasCode !== '' ? $envHasCode : '(empty)') ?></div></div> <div class="row"><div class="k">Apache env HAS_COOKIE</div><div class="v"><?= h($envHasCookie !== '' ? $envHasCookie : '(empty)') ?></div></div> <div class="row"> <div class="k">Unlock test links</div> <div class="v"> <a href="/tools/site_map.php?code=8703088682">Open site_map.php with code</a><br> <a href="/tools/site_map_summary.php?code=8703088682">Open site_map_summary.php with code</a> </div> </div> <div class="row"> <div class="k">Most common cause</div> <div class="v"> If <b>Query has valid code</b> is YES but <b>Apache env HAS_CODE</b> is empty, your host may not allow SetEnvIfNoCase in .htaccess. In that case, switch to Basic Auth or use rewrite-based env setting. </div> </div> </div> </div> </body> </html>
Save file
Quick jump
open a path
Open