golden hour
/home/doctorbruno/public_html/doctorbruno.info/taeionline/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: pipe.php
#!/usr/bin/php -q <?php /********************************************************************* pipe.php Converts piped emails to ticket. Just local - remote must use /api/tickets.email Peter Rotich <peter@osticket.com> 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: **********************************************************************/ ini_set('memory_limit', '256M'); //The concern here is having enough mem for emails with attachments. @chdir(dirname(__FILE__).'/'); //Change dir. require('api.inc.php'); // Only local piping supported via pipe.php if (!osTicket::is_cli()) die(__('pipe.php only supports local piping - use http -> api/tickets.email')); require_once(INCLUDE_DIR.'api.tickets.php'); PipeApiController::process('cli'); ?>
Save