diff --git a/README.md b/README.md index 7e0307f..1cfdf5d 100644 --- a/README.md +++ b/README.md @@ -57,9 +57,9 @@ This section has moved. Look in the files or their documentation below. ``` # Individual documentation for each file -### policies [DIR] +### [DIR] policies This folder contains the documents from which our policy pages (privacy policy, TOS, etc) will be built in the future. -### threadr [DIR] +### [DIR] threadr This folder contains all the files that are parts of ThreadR directly ### admin.php This is the file that is shown on the internal admin page. It will contain a list of users, forums, threads, etc. diff --git a/threadr/README.md b/threadr/README.md index 992ef16..555726b 100644 --- a/threadr/README.md +++ b/threadr/README.md @@ -1,23 +1,23 @@ # Short documentation of each file -### about [DIR] +### [DIR] about contains the about us page -### board [DIR] +### [DIR] board contains the files needed to display a board -### boards [DIR] +### [DIR] boards contains the files for the board list -### img [DIR] +### [DIR] img the directory that contains images that are part of the WebSite itself (no user content) -### login [DIR] +### [DIR] login everything that is needed to log in a user -### logout [DIR] +### [DIR] logout the logout process -### news [DIR] +### [DIR] news a page displaying a special board that is write-protected and shows updates about ThreadR -### profile [DIR] +### [DIR] profile profile pages and profile settings -### signup [DIR] +### [DIR] signup the signup process -### userhome [DIR] +### [DIR] userhome the user’s feed ### accept_cookie.php redirect immediately back to where the user came from but sets a cookie that says 'You accept cookies.' diff --git a/threadr/login/redirect.php b/threadr/login/redirect.php index 897ceae..2afc85e 100644 --- a/threadr/login/redirect.php +++ b/threadr/login/redirect.php @@ -15,15 +15,15 @@ if ($statement->rowCount() > 0) { // IP and user agent string are used to prevent cheap session stealing $_SESSION['user_ip'] = $_SERVER['REMOTE_ADDR']; $_SESSION['user_http_user_agent'] = $_SERVER['HTTP_USER_AGENT']; - header("Location: https://lostcave.ddnss.de/common/threadr/userhome/"); + header("Location: https://threadr.lostcave.ddnss.de/threadr/userhome/"); } else { //password inorrect - header("Location: https://lostcave.ddnss.de/common/threadr/login/?error=credentials"); + header("Location: https://threadr.lostcave.ddnss.de/threadr/login/?error=credentials"); die(); } } else { //wrong user name - header("Location: https://lostcave.ddnss.de/common/threadr/login/?error=credentials"); + header("Location: https://threadr.lostcave.ddnss.de/threadr/login/?error=credentials"); die(); } ?> diff --git a/threadr/signup/README.md b/threadr/signup/README.md index 86b052b..1f25fd1 100644 --- a/threadr/signup/README.md +++ b/threadr/signup/README.md @@ -1,5 +1,6 @@ # Short description for each file -### verify-email [DIR] the folder containing the email verification page +### [DIR] verify-email +the folder containing the email verification page ### index.php You can figure that out on your own. Interesting fact about this page: Will force-logout the user without notice.