Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > content-control > classes > Plugin
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Autoloader.php | File | 1732 bytes | December 08 2023 15:26:30. | |
Connect.php | File | 15298 bytes | December 08 2023 15:26:30. | |
Core.php | File | 11562 bytes | May 09 2025 02:30:24. | |
Install.php | File | 3128 bytes | September 21 2023 14:13:04. | |
License.php | File | 12404 bytes | December 08 2023 15:26:30. | |
Logging.php | File | 9538 bytes | December 08 2023 15:26:30. | |
Options.php | File | 5457 bytes | December 08 2023 15:26:30. | |
Prerequisites.php | File | 10409 bytes | September 21 2023 14:13:04. | |
Upgrader.php | File | 5813 bytes | May 09 2025 02:30:24. |
<?php /** * Includes the composer Autoloader used for packages and classes in the classes/ directory. * * @package ContentControl\Plugin */ namespace ContentControl\Plugin; defined( 'ABSPATH' ) || exit; /** * Autoloader class. */ 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. * * @param string $name Plugin name for error messaging. * @param string $path Path to the plugin. * * @return boolean */ public static function init( $name = '', $path = '' ) { $autoloader = $path . '/vendor/autoload.php'; if ( ! \is_readable( $autoloader ) ) { self::missing_autoloader( $name ); return false; } require_once $autoloader; return true; } /** * If the autoloader is missing, add an admin notice. * * @param string $plugin_name Plugin name for error messaging. * * @return void */ protected static function missing_autoloader( $plugin_name = '' ) { /* translators: 1. Plugin name */ $text = __( 'Your installation of %1$s is incomplete. If you installed %1$s from GitHub, please refer to this document to set up your development environment.', 'content-control' ); $message = sprintf( $text, $plugin_name ); if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log error_log( esc_html( $message ) ); } add_action( 'admin_notices', function () use ( $message ) { ?> <div class="notice notice-error"> <p><?php echo esc_html( $message ); ?></p> </div> <?php } ); } }
SILENT KILLER Tool