mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-14 19:36:25 +00:00
13 lines
319 B
PHP
13 lines
319 B
PHP
<?
|
|
|
|
if (empty($_GET['type']) || $_GET['type'] == 'inbox' || $_GET['type'] == 'sentbox') {
|
|
require(SERVER_ROOT.'/sections/ajax/inbox/inbox.php');
|
|
} elseif ($_GET['type'] == 'viewconv') {
|
|
require(SERVER_ROOT.'/sections/ajax/inbox/viewconv.php');
|
|
} else {
|
|
print json_encode(array('status' => 'failure'));
|
|
die();
|
|
}
|
|
|
|
?>
|