PluginProbe ʕ •ᴥ•ʔ
Backup Migration / 1.3.8
Backup Migration v1.3.8
2.1.6 2.1.5.2 trunk 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.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.6.1 1.4.7 1.4.8 1.4.9 1.4.9.1 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.5.1
backup-backup / includes / compatibility.php
backup-backup / includes Last commit date
banner 2 years ago check 2 years ago cli 2 years ago cron 2 years ago dashboard 2 years ago database 2 years ago extracter 2 years ago htaccess 2 years ago progress 2 years ago scanner 2 years ago staging 2 years ago uploader 2 years ago zipper 2 years ago .htaccess 2 years ago activation.php 2 years ago ajax.php 2 years ago analyst.php 2 years ago backup-heart.php 2 years ago bypasser.php 2 years ago cli-handler.php 2 years ago compatibility.php 2 years ago config.php 2 years ago constants.php 2 years ago initializer.php 2 years ago logger.php 2 years ago restore-batching.php 2 years ago
compatibility.php
14 lines
1 <?php
2
3 // Exit on direct access
4 if (!defined('ABSPATH')) exit;
5
6 // Fix PclZip error when php_uname is disabled
7 if (PHP_MAJOR_VERSION >= 8 && !function_exists('php_uname')) {
8 function php_uname() {
9 if (DIRECTORY_SEPARATOR === '/') {
10 return 'linux';
11 } else return 'windows';
12 }
13 }
14