forked from root/threadr.lostcave.ddnss.de
changed *[DIR] to [DIR]* fixing #4
parent
65fd15ca0d
commit
a6a6899e93
|
@ -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.
|
||||
|
|
|
@ -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.'
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue