$13 GRAYBYTE WORDPRESS FILE MANAGER $30

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/src/

HOME
Current File : /var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/src//Autoloader.php
<?php
/**
 * Includes the composer Autoloader used for packages and classes in the src/ directory.
 */

namespace Automattic\Kkart;

defined( 'ABSPATH' ) || exit;

/**
 * Autoloader class.
 *
 * @since 3.7.0
 */
class Autoloader {

	/**
	 * Static-only class.
	 */
	private function __construct() {}

	/**
	 * Require the autoloader and return the result.
	 *
	 * If the autoloader is not present, let's log the failure and display a nice admin notice.
	 *
	 * @return boolean
	 */
	public static function init() {
		$autoloader = dirname( __DIR__ ) . '/vendor/autoload_packages.php';

		if ( ! is_readable( $autoloader ) ) {
			self::missing_autoloader();
			return false;
		}

		$autoloader_result = require $autoloader;
		if ( ! $autoloader_result ) {
			return false;
		}

		return $autoloader_result;
	}

	/**
	 * If the autoloader is missing, add an admin notice.
	 */
	protected static function missing_autoloader() {
		if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
			error_log(  // phpcs:ignore
				esc_html__( 'Your installation of Kkart is incomplete. If you installed Kkart from GitHub, please refer to this document to set up your development environment: https://github.com/kkart/kkart/wiki/How-to-set-up-Kkart-development-environment', 'kkart' )
			);
		}
		add_action(
			'admin_notices',
			function() {
				?>
				<div class="notice notice-error">
					<p>
						<?php
						printf(
							/* translators: 1: is a link to a support document. 2: closing link */
							esc_html__( 'Your installation of Kkart is incomplete. If you installed Kkart from GitHub, %1$splease refer to this document%2$s to set up your development environment.', 'kkart' ),
							'<a href="' . esc_url( 'https://github.com/kkart/kkart/wiki/How-to-set-up-Kkart-development-environment' ) . '" target="_blank" rel="noopener noreferrer">',
							'</a>'
						);
						?>
					</p>
				</div>
				<?php
			}
		);
	}
}


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Feb 2026 2.55 AM
root / root
0755
Admin
--
21 Feb 2026 2.55 AM
root / root
0755
Blocks
--
21 Feb 2026 2.55 AM
root / root
0755
Checkout
--
21 Feb 2026 2.55 AM
root / root
0755
Internal
--
21 Feb 2026 2.55 AM
root / root
0755
Proxies
--
21 Feb 2026 2.55 AM
root / root
0755
Utilities
--
21 Feb 2026 2.55 AM
root / root
0755
Autoloader.php
1.862 KB
18 Feb 2026 11.32 PM
root / root
0644
Container.php
2.98 KB
18 Feb 2026 11.32 PM
root / root
0644
Packages.php
3.095 KB
18 Feb 2026 11.32 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF