fixed folder_structure.md

This commit is contained in:
filip 2021-01-21 22:16:59 +01:00
parent 719a482c12
commit c14005d9bd

View File

@ -1,46 +1,46 @@
# Folder structure
**Not final product**
abcdefghijklmnopqrstuvwxyz //reminder of the order of the alphabet beacause i am stupid
-/admin/
-index.php
-/b/
-index.php //all actual data is stored in /boards/b this is just so that example.com/b/ works without needing to write example.com/board/b/
- /admin/
- index.php
- /b/
- index.php //all actual data is stored in /boards/b this is just so that example.com/b/ works without needing to write example.com/board/b/
-/board/
-/b/ //anything in the board folder is controllable by board administrators
-/etc/
-/includes/
-footer.php
-header.php
-/styling/
-style.css
- /board/
- /b/ //anything in the board folder is controllable by board administrators
- /etc/
- /includes/
- footer.php
- header.php
- /styling/
- style.css
-/etc/
-/board_templates/ //when a new board is created the files from here are copied over
-/etc/
-/includes/
-footer.php
-header.php
-/styling/
-style.css
-/cgi/ //form data is handeled by these scripts
-login.php
-register.php
-/global_includes/ //this is global and cannot be changed by individual boards and users. These files are embedded into pages
-footer.php
-header.php
-/user_templates/ //default settings for the user, can be changed by the user. Used if you are not logged in
-board_index.php
-/page_includes/ //used by pages that are not part of a board or a user page.
-style.css
- /etc/
- /board_templates/ //when a new board is created the files from here are copied over
- /etc/
- /includes/
- footer.php
- header.php
- /styling/
- style.css
- /cgi/ //form data is handeled by these scripts
- login.php
- register.php
- /global_includes/ //this is global and cannot be changed by individual boards and users. These files are embedded into pages
- footer.php
- header.php
- /user_templates/ //default settings for the user, can be changed by the user. Used if you are not logged in
- board_index.php
- /page_includes/ //used by pages that are not part of a board or a user page.
- style.css
-index.php
- index.php
-/pages/ //form data is sent to scripts in /etc/cgi
-login.php //login page
-register.php //register page
- /pages/ //form data is sent to scripts in /etc/cgi
- login.php //login page
- register.php //register page
-/user/
-/username/
-username.json
-board_index.php
- /user/
- /username/
- username.json
- board_index.php