/var/www/(Del)hsihk.com/wp-content/plugins/backupbuddy/controllers/ajax/refresh_site_size.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
if ( ! is_admin() ) { die( 'Access denied.' ); }

// Server info page site size update.

/*    refresh_site_size()
*    
*    Server info page site size refresh. Echos out the new site size (pretty version).
*    
*    @return        null
*/

$site_size backupbuddy_core::get_site_size(); // array( site_size, site_size_sans_exclusions ).

echo pb_backupbuddy::$format->file_size$site_size[0] );

die();