Moved ajax handling into a normal Page subclass instead of special handling in index.php

This commit is contained in:
Erik Thuning 2018-09-05 17:08:17 +02:00
parent 520b42b617
commit 03d36ec1a0

@ -8,11 +8,6 @@ if(isset($_GET['page'])) {
$page = $_GET['page'];
}
if($page === 'do') {
print('ajax endpoint');
exit(0);
}
make_page($page)->render();
?>