Logging statment for testing upgrades - will be removed

This commit is contained in:
drigato 2014-04-16 15:56:45 -04:00
parent d05eae629a
commit 634b429391
1 changed files with 14 additions and 0 deletions

View File

@ -213,6 +213,20 @@ class Application_Model_Systemstatus
public static function GetDiskInfo()
{
//testing purposes only
$musicDir = CcMusicDirsQuery::create()
->filterByType('stor')
->filterByExists(true)
->findOne();
$storPath = $musicDir->getDirectory();
$freeSpace = disk_free_space($storPath);
$totalSpace = disk_total_space($storPath);
Logging::info($totalSpace = $freeSpace);
$partitions = array();
//connect to DB and find how much total space user has allocated.