Files
tinker_tickets/scripts/demo/router.php
T
jared 051ef6c915
Lint / PHP (phpcs PSR-12) (push) Failing after 31s
Lint / JS (eslint) (push) Successful in 8s
Lint / PHP requirements (version + extensions) (push) Successful in 22s
Lint / Deploy (push) Skipped
Security / PHP Security (semgrep) (push) Successful in 1m17s
Lint / Notify on failure (push) Successful in 8s
README: add walkthrough GIF, gallery and architecture diagram; add demo seed and capture scripts
2026-10-03 01:02:55 -04:00

7 lines
238 B
PHP

<?php
$p = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
$f = __DIR__ . '/tinker' . $p;
if ($p !== '/' && is_file($f) && !str_ends_with($f, '.php')) { return false; }
chdir(__DIR__ . '/tinker');
require __DIR__ . '/tinker/index.php';