47 lines
1.3 KiB
Markdown
47 lines
1.3 KiB
Markdown
# 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/
|
|
|
|
- /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
|
|
|
|
- index.php
|
|
|
|
- /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
|