- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 3.21.98.79
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/puertode/www/mesa/include/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/puertode/www/mesa/include/class.app.php
<?php
/*********************************************************************
    class.app.php

    Application registration system
    Apps, usually to be distributed as plugins, can register themselves
    using this utility class, and navigation links will be added to the
    staff and client interfaces.

    Jared Hancock <jared@osticket.com>
    Peter Rotich <peter@osticket.com>
    Copyright (c)  2006-2014 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:
**********************************************************************/

class Application {
    private static $client_apps;
    private static $staff_apps;
    private static $admin_apps;

    function registerStaffApp($desc, $href, $info=array()) {
        self::$staff_apps[] = array_merge($info,
            array('desc'=>$desc, 'href'=>$href));
    }

    static function getStaffApps() {
        return self::$staff_apps;
    }

    function registerClientApp($desc, $href, $info=array()) {
        self::$client_apps[] = array_merge($info,
            array('desc'=>$desc, 'href'=>$href));
    }

    static function getClientApps() {
        return self::$client_apps;
    }

    function registerAdminApp($desc, $href, $info=array()) {
        self::$admin_apps[] = array_merge($info,
            array('desc'=>$desc, 'href'=>$href));
    }

    static function getAdminApps() {
        return self::$admin_apps;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit