PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / 1.2.2
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel v1.2.2
trunk 0.9.0 0.9.1 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.2.1 1.2.10 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0
wp-all-export / classes / installer.php
wp-all-export / classes Last commit date
CdataStrategy.php 7 years ago CdataStrategyAlways.php 7 years ago CdataStrategyFactory.php 7 years ago CdataStrategyIllegalCharacters.php 7 years ago CdataStrategyIllegalCharactersHtmlEntities.php 7 years ago CdataStrategyNever.php 7 years ago XMLWriter.php 7 years ago chunk.php 7 years ago config.php 7 years ago download.php 7 years ago handler.php 7 years ago helper.php 7 years ago input.php 7 years ago installer.php 7 years ago session.php 7 years ago wpallimport.php 7 years ago zip.php 7 years ago
installer.php
40 lines
1 <?php
2
3 class PMXE_Installer
4 {
5 const MIN_PHP_VERSION = "5.3.0";
6
7 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.";
8
9 public function checkActivationConditions()
10 {
11 if (version_compare(phpversion(), self::MIN_PHP_VERSION , "<")) {
12 $this->error(sprintf(
13 self::WRONG_PHP_VERSION_MESSAGE,
14 self::MIN_PHP_VERSION,
15 phpversion(),
16 self::MIN_PHP_VERSION
17 ));
18 }
19 }
20
21 private function error($message){
22
23 $message = __($message);
24 $error = <<<EOT
25 <style type="text/css">
26 body, html {
27 margin: 0;
28 padding: 0;
29 }
30 </style>
31 <div class="error">
32 <p style="padding-left:2px; font-size:13px; color: #444; font-family: 'Open Sans',sans-serif; -webkit-font-smoothing: subpixel-antialiased;">
33 $message
34 </p>
35 </div>
36 EOT;
37 echo $error;
38 die;
39 }
40 }