Commit a6000758 authored by Nico Schallehn's avatar Nico Schallehn

test

parent c584b27d
...@@ -159,7 +159,7 @@ class Media { ...@@ -159,7 +159,7 @@ class Media {
} }
private function getfileSitze($file){ private function getfileSitze($file){
//$size = ; //$size = ;
return trim(explode("/", exec('du -s "'.$file.'"'))[0])*1024; return trim(explode("/", exec('du -b "'.$file.'"'))[0]);
} }
private function dirtoArray($dir, $root = ''){ 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