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 |