Commit 4b5069e0 authored by Nico Schallehn's avatar Nico Schallehn

test

parent c61073d5
......@@ -159,7 +159,7 @@ class Media {
}
private function getfileSitze($file){
//$size = ;
return trim(explode("/", exec('du -s "'.$file.'"'))[0]);
return trim(explode("/", exec('du -s "'.$file.'"'))[0])*1024;
}
private function dirtoArray($dir, $root = ''){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment