Tinyfilemanager 2.4.3 -

// Read-only users $read_only_users = array('user');

// Helper functions function get_size($bytes) if ($bytes >= 1073741824) return number_format($bytes / 1073741824, 2) . ' GB'; if ($bytes >= 1048576) return number_format($bytes / 1048576, 2) . ' MB'; if ($bytes >= 1024) return number_format($bytes / 1024, 2) . ' KB'; return $bytes . ' B'; tinyfilemanager 2.4.3

You can save this as tinyfilemanager.php and place it in your web root. // Read-only users $read_only_users = array('user')