PHP 8.3.27
Preview: api.inc.php Size: 1.02 KB
/home7/doctorbruno/public_html/taeionline.com/support/api/api.inc.php
<?php
/*********************************************************************
    api.inc.php

    File included on every API page...handles common includes.

    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:
**********************************************************************/
file_exists('../main.inc.php') or die('System Error');

/*
 * Why API_SESSION ??
 * It indicates that the session is API - which session handler should handle as
 * stateless for new sessions.
 * Existing session continue to work as expected - this it's important for
 * SSO authentication, which uses /api/auth/* endpoints. Such calls are not
 * stateless.
 *
 */
define('API_SESSION', true);

// APICALL const.
define('APICALL', true);

require_once('../main.inc.php');
require_once(INCLUDE_DIR.'class.http.php');
require_once(INCLUDE_DIR.'class.api.php');

?>

Directory Contents

Dirs: 0 × Files: 8
Name Size Perms Modified Actions
204 B lrw-r--r-- 2025-02-04 09:58:56
Edit Download
1.02 KB lrw-r--r-- 2025-02-04 09:58:56
Edit Download
710 B lrw-r--r-- 2025-02-04 09:58:56
Edit Download
5.60 KB lrw-r--r-- 2021-12-15 19:17:14
Edit Download
998 B lrw-r--r-- 2025-02-04 09:58:56
Edit Download
37 B lrw-r--r-- 2025-02-04 09:58:56
Edit Download
44 B lrw-r--r-- 2026-10-02 10:08:28
Edit Download
923 B lrw-r--r-- 2025-02-04 09:58:56
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).