banner
2 months ago
bodies
2 months ago
check
2 months ago
cli
2 months ago
cron
2 months ago
dashboard
2 months ago
database
2 months ago
external
2 months ago
extracter
2 months ago
htaccess
2 months ago
notices
2 months ago
progress
2 months ago
scanner
2 months ago
staging
2 months ago
traits
2 months ago
uploader
2 months ago
vendor
2 months ago
zipper
2 months ago
.htaccess
2 months ago
activation.php
2 months ago
ajax.php
2 months ago
ajax_offline.php
2 months ago
analyst.php
2 months ago
backup-process.php
2 months ago
class-backup-method-mananger.php
2 months ago
cli-handler.php
2 months ago
compatibility.php
2 months ago
config.php
2 months ago
constants.php
2 months ago
file-explorer.php
2 months ago
initializer.php
2 months ago
logger.php
2 months ago
offline.php
2 months 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 |