1
0

b93: speed

This commit is contained in:
2018-01-02 19:41:41 +01:00
parent 89f2e3e5c5
commit cb816b5dd7
7 changed files with 166 additions and 54 deletions

View File

@@ -7,7 +7,7 @@ require_once (__DIR__ . '/../internals/ParsedownCustom.php');
$subview = $OPTIONS['subview'];
$euler = Euler::listAll();
$problem = Euler::getEulerProblem(intval(explode('-', $subview)[1]));
$problem = Euler::getEulerProblemFromStrIdent($subview);
if ($post === NULL) httpError(404, 'problem not found');