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