Skip to content
Snippets Groups Projects
Commit 3066b449 authored by Thomas Müller's avatar Thomas Müller
Browse files

remove unused $relativePath

parent b49f43c3
Branches
No related tags found
No related merge requests found
<input type="hidden" id="disableSharing" data-status="<?php p($_['disableSharing']); ?>">
<?php foreach($_['files'] as $file):
//strlen('files/') => 6
$relativePath = substr($file['path'], 6);
// the bigger the file, the darker the shade of grey; megabytes*2
$simple_size_color = intval(160-$file['size']/(1024*1024)*2);
if($simple_size_color<0) $simple_size_color = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment