@@ -247,12 +259,6 @@
foreach ($files['children'] as $file) {
// Files
if (isset($file['file'])) {
- if (strtolower($file['name']) === 'head.md') $head = $file;
- if (strtolower($file['name']) === 'readme.md') $readme = $file;
- if (strtolower($file['name']) === 'index.html' && !$_SERVER['admin']) {
- $html = curl_request(fetch_files(spurlencode(path_format($path . '/' .$file['name']),'/'))['@microsoft.graph.downloadUrl'])['body'];
- return output($html,200);
- }
if ($_SERVER['admin'] or !isHideFile($file['name'])) {
$filenum++; ?>
@@ -354,25 +360,7 @@
echo 'Unknown path or file.';
echo json_encode($files, JSON_PRETTY_PRINT);
}
- if ($head) {
- echo '
-
-
-
-