mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-15 03:46:25 +00:00
21 lines
381 B
PHP
21 lines
381 B
PHP
<?
|
|
|
|
if ($_GET['type']) {
|
|
switch ($_GET['type']) {
|
|
case 'posts':
|
|
// Load post history page
|
|
include('post_history.php');
|
|
break;
|
|
default:
|
|
print json_encode(
|
|
array('status' => 'failure')
|
|
);
|
|
}
|
|
}
|
|
else {
|
|
print json_encode(
|
|
array('status' => 'failure')
|
|
);
|
|
}
|
|
|
|
?>
|