Commit eb261e14 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 04b186ab
...@@ -158,7 +158,8 @@ class Media { ...@@ -158,7 +158,8 @@ class Media {
} }
private function getfileSitze($file){ private function getfileSitze($file){
return trim(explode(" ", exec('du -s "'.$file.'"'))[0]); $size = explode(" ", exec('du -s "'.$file.'"'));
return trim($size[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