HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: /home/mirz4654/public_html/wp-content/plugins/vibes/autoload.php
<?php
/**
 * Autoload for Vibes.
 *
 * @package Bootstrap
 * @author  Pierre Lannoy <https://pierre.lannoy.fr/>.
 * @since   1.0.0
 */

spl_autoload_register(
	function ( $class ) {
		$classname = $class;
		$filepath  = __DIR__ . '/';
		if ( strpos( $classname, 'Vibes\\' ) === 0 ) {
			while ( strpos( $classname, '\\' ) !== false ) {
				$classname = substr( $classname, strpos( $classname, '\\' ) + 1, 1000 );
			}
			$filename = 'class-' . str_replace( '_', '-', strtolower( $classname ) ) . '.php';
			if ( strpos( $class, 'Vibes\System\\' ) === 0 ) {
				$filepath = VIBES_INCLUDES_DIR . 'system/';
			}
			if ( strpos( $class, 'Vibes\Plugin\Feature\\' ) === 0 ) {
				$filepath = VIBES_INCLUDES_DIR . 'features/';
			} elseif ( strpos( $class, 'Vibes\Plugin\\' ) === 0 ) {
				$filepath = VIBES_INCLUDES_DIR . 'plugin/';
			} elseif ( strpos( $class, 'Vibes\Library\\' ) === 0 ) {
				$filepath = VIBES_VENDOR_DIR;
			} elseif ( strpos( $class, 'Vibes\Library\\' ) === 0 ) {
				$filepath = VIBES_VENDOR_DIR;
			} elseif ( strpos( $class, 'Vibes\Integration\\' ) === 0 ) {
				$filepath = VIBES_INCLUDES_DIR . 'integrations/';
			} elseif ( strpos( $class, 'Vibes\API\\' ) === 0 ) {
				$filepath = VIBES_INCLUDES_DIR . 'api/';
			}
			if ( strpos( $filename, '-public' ) !== false ) {
				$filepath = VIBES_PUBLIC_DIR;
			}
			if ( strpos( $filename, '-admin' ) !== false ) {
				$filepath = VIBES_ADMIN_DIR;
			}
			$file = $filepath . $filename;
			if ( file_exists( $file ) ) {
				include_once $file;
			}
		}
	}
);