fix example on 400
This commit is contained in:
@@ -26,9 +26,6 @@
|
|||||||
$warning = "Cette grille a plusieurs solutions.";
|
$warning = "Cette grille a plusieurs solutions.";
|
||||||
}
|
}
|
||||||
require("sudoku.php");
|
require("sudoku.php");
|
||||||
} else {
|
|
||||||
if ($currentGrid) {
|
|
||||||
require("400.php");
|
|
||||||
} else {
|
} else {
|
||||||
$grid = new Grid();
|
$grid = new Grid();
|
||||||
$gridAsString = $grid->toString();
|
$gridAsString = $grid->toString();
|
||||||
@@ -39,6 +36,9 @@
|
|||||||
|
|
||||||
$_SESSION["nbSolutions"] = 1;
|
$_SESSION["nbSolutions"] = 1;
|
||||||
|
|
||||||
|
if ($currentGrid) {
|
||||||
|
require("400.php");
|
||||||
|
} else {
|
||||||
header("Location: $newGridUrl");
|
header("Location: $newGridUrl");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user