2021-01-21 21:11:33 +00:00
|
|
|
# Folder structure
|
|
|
|
**Not final product**
|
|
|
|
abcdefghijklmnopqrstuvwxyz //reminder of the order of the alphabet beacause i am stupid
|
2021-01-21 21:16:59 +00:00
|
|
|
- /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/
|
2021-01-21 21:11:33 +00:00
|
|
|
|
2021-01-21 21:16:59 +00:00
|
|
|
- /board/
|
|
|
|
- /b/ //anything in the board folder is controllable by board administrators
|
|
|
|
- /etc/
|
|
|
|
- /includes/
|
|
|
|
- footer.php
|
|
|
|
- header.php
|
|
|
|
- /styling/
|
|
|
|
- style.css
|
2021-01-21 21:11:33 +00:00
|
|
|
|
2021-01-21 21:16:59 +00:00
|
|
|
- /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
|
2021-01-21 21:11:33 +00:00
|
|
|
|
2021-01-21 21:16:59 +00:00
|
|
|
- index.php
|
2021-01-21 21:11:33 +00:00
|
|
|
|
2021-01-21 21:16:59 +00:00
|
|
|
- /pages/ //form data is sent to scripts in /etc/cgi
|
|
|
|
- login.php //login page
|
|
|
|
- register.php //register page
|
2021-01-21 21:11:33 +00:00
|
|
|
|
2021-01-21 21:16:59 +00:00
|
|
|
- /user/
|
|
|
|
- /username/
|
|
|
|
- username.json
|
|
|
|
- board_index.php
|