This commit is contained in:
2025-05-09 11:13:29 +02:00
parent 310a1883d2
commit cf0a5a465e
2 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
<?php
require("classes.php");
if (isset($_GET["grid"]) && preg_match("/^[1-9.]{81}$/", $_GET["grid"]))
if (isset($_GET["grid"]) && preg_match("/^[1-9-]{81}$/", $_GET["grid"]))
$currentGrid = $_GET["grid"];
else
$currentGrid = ".528.3....4.9.1...39.562......73.129...1.64.7...42.3656.13.5...28.6.4...4.5287...";
$currentGrid = "-528-3----4-9-1---39-562------73-129---1-64-7---42-3656-13-5---28-6-4---4-5287---";
header ("Content-type: image/png");
if (isset($_GET['size']))
$size = (int) $_GET['size'];