HEX
Server: Apache/2
System: Linux ind.multivistaglobal.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: multivis (1002)
PHP: 8.1.32
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/multivis/public_html/wp-content/plugins/indeed-membership-pro/autoload.php
<?php
spl_autoload_register('indeedIhcAutoloader');
function indeedIhcAutoloader($fullClassName='')
{
    if (strpos($fullClassName, "Indeed\Ihc\Db")!==FALSE){
        $path = IHC_PATH . 'classes/Db/';
    } else if (strpos($fullClassName, "Indeed\Ihc\Gateways\Libraries\PayPalExpress") !== FALSE){
        $path = IHC_PATH . 'classes/gateways/libraries/paypal-express/';
    } else if (strpos($fullClassName, "Indeed\Ihc\Gateways")!==FALSE){
        $path = IHC_PATH . 'classes/gateways/';
    } else if (strpos($fullClassName, "Indeed\Ihc\Payments")!==FALSE){
        $path = IHC_PATH . 'classes/payments/';
    }  else if (strpos($fullClassName, "Indeed\Ihc\PaymentGateways")!==FALSE){
        $path = IHC_PATH . 'classes/PaymentGateways/';
    } else if (strpos($fullClassName, "Indeed\Ihc\Services")!==FALSE){
        $path = IHC_PATH . 'classes/services/';
    } else if (strpos($fullClassName, "Indeed\Ihc\Admin")!==FALSE){
        $path = IHC_PATH . 'admin/classes/';
    } else if (strpos($fullClassName, "Indeed\Ihc")!==FALSE){
        $path = IHC_PATH . 'classes/';
    }
    if (empty($path)){
       return;
    }

    $classNameParts = explode('\\', $fullClassName);
    if (!$classNameParts){
       return;
    }
    $lastElement = count($classNameParts) - 1;
    if (empty($classNameParts[$lastElement])){
       return;
    }
    $fullPath = $path . $classNameParts[$lastElement] . '.php';

    if (!file_exists($fullPath)){
       return;
    }
    include $fullPath;
}