banner
1 year ago
check
1 year ago
cli
1 year ago
cron
1 year ago
dashboard
1 year ago
database
1 year ago
extracter
1 year ago
htaccess
1 year ago
progress
1 year ago
scanner
1 year ago
staging
1 year ago
uploader
1 year ago
zipper
1 year ago
.htaccess
1 year ago
activation.php
1 year ago
ajax.php
1 year ago
analyst.php
1 year ago
backup-process.php
1 year ago
cli-handler.php
1 year ago
compatibility.php
1 year ago
config.php
1 year ago
constants.php
1 year ago
initializer.php
1 year ago
logger.php
1 year 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 |