File "compatibility.php"
Full path: /home/bud/public_html/swamp/wp-admin/wp-content/plugins/backup-backup/includes/compatibility.php
File size: 315 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
// Exit on direct access
if (!defined('ABSPATH')) exit;
// Fix PclZip error when php_uname is disabled
if (PHP_MAJOR_VERSION >= 8 && !function_exists('php_uname')) {
function php_uname() {
if (DIRECTORY_SEPARATOR === '/') {
return 'linux';
} else return 'windows';
}
}