Moved ajax handling into a normal Page subclass instead of special handling in index.php
This commit is contained in:
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();
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user