Commit a8825503 authored by Nico Schallehn's avatar Nico Schallehn

test

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