File "getMainLog.php"

Full Path: /var/www/bvnghean.vn/save_bvnghean.vn/wp-content/plugins/backupbuddy/controllers/ajax/getMainLog.php
File size: 360 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
backupbuddy_core::verifyAjaxAccess();


/* getMainLog()
 *
 * Dump out contents of the main log file.
 *
 */
$log_file = backupbuddy_core::getLogDirectory() . 'log-' . pb_backupbuddy::$options['log_serial'] . '.txt';
if ( file_exists( $log_file ) ) {
	readfile( $log_file );
} else {
	echo __('Nothing has been logged.', 'it-l10n-backupbuddy' );
}
die();