HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/takarzan.ir/dup-installer/templates/default/parts/validation/tests/diskspace.php
<?php

/**
 *
 * @package templates/default
 */

defined('ABSPATH') || defined('DUPXABSPATH') || exit;

/* Variables */
/* @var $isOk bool */
/* @var $freeSpace int */
/* @var $requiredSpace int */
?>
<div class="sub-title">STATUS</div>
<p>
    <?php if ($isOk) : ?>
        <span class="green">You have sufficient disk space on your machine to extract the archive.</span>
    <?php else : ?>
        <span class="maroon">You don’t have sufficient disk space on your machine to extract the archive.</span>
    <?php endif; ?>
</p>

<div class="sub-title">DETAILS</div>
<p>
    Duplicator needs at least enough disk space to be able to host the package file and the extracted files.<br>
    The available free disk space is <b><?php echo $freeSpace; ?></b>, the required disk space should at least be <b><?php echo $requiredSpace; ?></b>.
</p>

<div class="sub-title">TROUBLESHOOT</div>
<ul>
    <li>Ask your host to increase your disk space.</li>
    <li>Back-up and remove all unnecessary files you have in the install directory to free up space.</li>
</ul>