ajax
5 years ago
config
5 years ago
cron
5 years ago
css
5 years ago
fonts
5 years ago
img
5 years ago
include
5 years ago
js
5 years ago
templates
5 years ago
backups.php
5 years ago
boot.php
5 years ago
cloud.php
5 years ago
dashboardWidget.php
5 years ago
pagesContent.php
5 years ago
proFeatures.php
5 years ago
restore_wordpress.php
5 years ago
schedule.php
5 years ago
security.php
5 years ago
services.php
5 years ago
settings.php
5 years ago
support.php
5 years ago
systemInfo.php
5 years ago
videoTutorials.php
5 years ago
systemInfo.php
96 lines
| 1 | <?php |
| 2 | require_once(SG_SCHEDULE_PATH.'SGSchedule.php'); |
| 3 | $contentClassName = getBackupPageContentClassName('system_info'); |
| 4 | ?> |
| 5 | <div id="sg-backup-page-content-system_info" class="sg-backup-page-content <?php echo $contentClassName; ?>"> |
| 6 | <div class="row"> |
| 7 | <div class="col-md-12"> |
| 8 | <form class="form-horizontal" method="post" data-sgform="ajax" data-type="sgsettings"> |
| 9 | <fieldset> |
| 10 | <div><h1 class="sg-backup-page-title"><?php _backupGuardT('System information')?></h1></div> |
| 11 | <div class="form-group"> |
| 12 | <label class="col-md-3 sg-control-label sg-user-info"><?php _backupGuardT('Disk free space'); ?></label> |
| 13 | <div class="col-md-3 text-left"> |
| 14 | <label class="sg-control-label"> |
| 15 | <?php echo convertToReadableSize(@disk_free_space(SG_APP_ROOT_DIRECTORY)); ?> |
| 16 | </label> |
| 17 | </div> |
| 18 | </div> |
| 19 | <div class="form-group sg-info-wrapper"> |
| 20 | <label class="col-md-3 sg-control-label sg-user-info"><?php _backupGuardT('Memory limit'); ?></label> |
| 21 | <div class="col-md-3 text-left"> |
| 22 | <label class="sg-control-label"><?php echo SGBoot::$memoryLimit; ?></label> |
| 23 | </div> |
| 24 | </div> |
| 25 | <div class="form-group sg-info-wrapper"> |
| 26 | <label class="col-md-3 sg-control-label sg-user-info"> |
| 27 | <?php _backupGuardT('Max execution time'); ?> |
| 28 | </label> |
| 29 | <div class="col-md-3 text-left"> |
| 30 | <label class="sg-control-label"><?php echo SGBoot::$executionTimeLimit; ?></label> |
| 31 | </div> |
| 32 | </div> |
| 33 | <div class="form-group sg-info-wrapper"> |
| 34 | <label class="col-md-3 sg-control-label sg-user-info"> |
| 35 | <?php _backupGuardT('PHP version'); ?> |
| 36 | </label> |
| 37 | <div class="col-md-3 text-left"> |
| 38 | <label class="sg-control-label"><?php echo PHP_VERSION; ?></label> |
| 39 | </div> |
| 40 | </div> |
| 41 | <div class="form-group sg-info-wrapper"> |
| 42 | <label class="col-md-3 sg-control-label sg-user-info"><?php _backupGuardT('MySQL version'); ?></label> |
| 43 | <div class="col-md-3 text-left"> |
| 44 | <label class="sg-control-label"><?php echo SG_MYSQL_VERSION; ?></label> |
| 45 | </div> |
| 46 | </div> |
| 47 | <div class="form-group sg-info-wrapper"> |
| 48 | <label class="col-md-3 sg-control-label sg-user-info"> |
| 49 | <?php _backupGuardT('Int size'); ?> |
| 50 | </label> |
| 51 | <div class="col-md-3 text-left"> |
| 52 | <?php echo '<label class="sg-control-label">'.PHP_INT_SIZE.'</label>'; ?> |
| 53 | <?php |
| 54 | if (PHP_INT_SIZE < 8) { |
| 55 | echo '<label class="sg-control-label backup-guard-label-warning">Notice that archive size cannot be bigger than 2GB. This limitaion is comming from system.</label>'; |
| 56 | } |
| 57 | ?> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div class="form-group sg-info-wrapper"> |
| 61 | <div class="col-md-3 "> |
| 62 | <label class="sg-control-label sg-user-info"><?php _backupGuardT('Curl version'); ?></label> |
| 63 | </div> |
| 64 | <div class="col-md-8 text-left"> |
| 65 | <?php |
| 66 | if (function_exists('curl_version') && function_exists('curl_exec')) { |
| 67 | $cv = curl_version(); |
| 68 | echo '<label class="sg-control-label sg-blue-label">'.$cv['version'].' / SSL: '.$cv['ssl_version'].' / libz: '.$cv['libz_version'].'</label>'; |
| 69 | } |
| 70 | else { |
| 71 | echo '<label class="sg-control-label backup-guard-label-warning">Curl required for BackupGuard for better functioning.</label>'; |
| 72 | } |
| 73 | ?> |
| 74 | </div> |
| 75 | </div> |
| 76 | <div class="form-group sg-info-wrapper"> |
| 77 | <div class="col-md-3 "> |
| 78 | <label class="sg-control-label sg-user-info"><?php _backupGuardT('Is cron available'); ?></label> |
| 79 | </div> |
| 80 | <div class="col-md-3 text-left"> |
| 81 | <?php |
| 82 | $isCronAvailable = SGSchedule::isCronAvailable(); |
| 83 | if ($isCronAvailable) { |
| 84 | echo '<label class="sg-control-label">Yes</label>'; |
| 85 | } |
| 86 | else { |
| 87 | echo '<label class="sg-control-label backup-guard-label-warning">Please consider enabling WP Cron in order to be able to setup schedules.</label>'; |
| 88 | } |
| 89 | ?> |
| 90 | </div> |
| 91 | </div> |
| 92 | </fieldset> |
| 93 | </form> |
| 94 | </div> |
| 95 | </div> |
| 96 | </div> |