mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 10:56:26 +00:00
21 lines
285 B
PHP
21 lines
285 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')
|
|
);
|
|
}
|
|
|
|
?>
|