| Server IP : 172.67.201.108 / Your IP : 216.73.216.55 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/mommybites/wp-content/plugins/wp-all-export-pro/classes/ |
Upload File : |
<?php
class PMXE_Installer
{
const MIN_PHP_VERSION = "5.3.0";
const WRONG_PHP_VERSION_MESSAGE = "WP All Export requires PHP %1s or greater, you are using PHP %2s. Please contact your host and tell them to update your server to at least PHP %1s.";
public function checkActivationConditions()
{
if (version_compare(phpversion(), self::MIN_PHP_VERSION , "<")) {
$this->error(sprintf(
self::WRONG_PHP_VERSION_MESSAGE,
self::MIN_PHP_VERSION,
phpversion(),
self::MIN_PHP_VERSION
));
}
}
private function error($message){
$message = __($message);
$error = <<<EOT
<style type="text/css">
body, html {
margin: 0;
padding: 0;
}
</style>
<div class="error">
<p style="padding-left:2px; font-size:13px; color: #444; font-family: 'Open Sans',sans-serif; -webkit-font-smoothing: subpixel-antialiased;">
$message
</p>
</div>
EOT;
echo $error;
die;
}
}