hasPermission("SITEWRITER") && !$user->hasPermission("SITEWRITER_FILES") && !$user->hasPermission("SITEWRITER_EDIT")) { // Note: the EDIT permission is valid here because content editors can browse files anyways if ($_GET['msg'] != "no_permission") { header("Location: app.php?page=files&msg=no_permission"); } die(); } include_once __DIR__ . "/../lib/mimetypes.php"; $base = FILE_UPLOAD_PATH; $folder = ""; if (isset($VARS['path']) && file_exists($base . $VARS['path']) && strpos(realpath($base . $VARS['path']), FILE_UPLOAD_PATH) === 0) { $folder = $VARS['path']; } if ($folder == "/") { $folder = ""; } $fullpath = $base . $folder; ?>
get("browse"); ?>
/other icons $mimefirst = explode("/", $mimetype, 2)[0]; if (array_key_exists($mimefirst . "/other", $MIMEICONS)) { $icon = $MIMEICONS[$mimefirst . "/other"]; } } } ?>
" />

get("nothing here"); ?>