Harden Project 01 public endpoints

This commit is contained in:
Andrie
2026-06-11 23:15:42 +07:00
parent a90748d9c1
commit 6f4488c1b8
39 changed files with 1183 additions and 612 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
$tests = [
__DIR__ . DIRECTORY_SEPARATOR . 'test_layer_panes.php',
__DIR__ . DIRECTORY_SEPARATOR . 'test_public_hardening_static.php',
];
foreach ($tests as $test) {
passthru(escapeshellarg(PHP_BINARY) . ' ' . escapeshellarg($test), $exitCode);
if ($exitCode !== 0) {
exit($exitCode);
}
}
echo "PASS: all Project 01 tests passed\n";