golden hour
/home/doctorbruno/public_html/taeionline.com/support/api
⬆️ Go Up
Upload
File/Folder
Size
Actions
.htaccess
204 B
Del
OK
api.inc.php
1.02 KB
Del
OK
cron.php
710 B
Del
OK
error_log
5.6 KB
Del
OK
http.php
998 B
Del
OK
index.php
37 B
Del
OK
pipe.php
923 B
Del
OK
Edit: http.php
<?php /********************************************************************* http.php HTTP controller for the osTicket API Jared Hancock Copyright (c) 2006-2013 osTicket http://www.osticket.com Released under the GNU General Public License WITHOUT ANY WARRANTY. See LICENSE.TXT for details. vim: expandtab sw=4 ts=4 sts=4: **********************************************************************/ require 'api.inc.php'; # Include the main api urls require_once INCLUDE_DIR."class.dispatcher.php"; $dispatcher = patterns('', url_post("^/tickets\.(?P<format>xml|json|email)$", array('api.tickets.php:TicketApiController','create')), url('^/tasks/', patterns('', url_post("^cron$", array('api.cron.php:CronApiController', 'execute')) )) ); // Send api signal so backend can register endpoints Signal::send('api', $dispatcher); # Call the respective function print $dispatcher->resolve(Osticket::get_path_info()); ?>
Save