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