commit 100ba92888a202611cd996f3f9ecfd55f1905503 Author: quenousimporte Date: Tue Feb 13 22:57:28 2024 +0100 init app diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..53cac3b --- /dev/null +++ b/.htaccess @@ -0,0 +1,4 @@ + +RewriteEngine on +RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] + \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..03c26b4 --- /dev/null +++ b/index.php @@ -0,0 +1,92 @@ +Access denied.

'; + exit; + } +?> + + + + + bnn + + + + +
View list New note | bbn
+
+ +
+ + +
+
+
+ +
+ + '; + } + else + { + if ($dh = opendir($dir)) { + while (($file = readdir($dh)) !== false) { + if (str_ends_with($file, '.md')) + { + echo '
' . $file .'
'; + } + } + closedir($dh); + } + } + + ?> + +