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