diff options
| -rwxr-xr-x | admin/admin.php | 4 | ||||
| -rwxr-xr-x | html/account.html | 4 | ||||
| -rwxr-xr-x | html/footer.html | 4 | ||||
| -rwxr-xr-x | html/guest.html | 4 | ||||
| -rwxr-xr-x | signin/signin.php | 2 | ||||
| -rwxr-xr-x | signup/signup.php | 2 | ||||
| -rwxr-xr-x | signup/verify/verify.php | 2 |
7 files changed, 11 insertions, 11 deletions
diff --git a/admin/admin.php b/admin/admin.php index 0a00cf3..eb85ccb 100755 --- a/admin/admin.php +++ b/admin/admin.php @@ -29,7 +29,7 @@ if (!is_admin()) { } if ($_SERVER["REQUEST_METHOD"] != "POST") { - header("Location: /admin"); + header("Location: /admin/"); exit; } @@ -84,6 +84,6 @@ try { exit; } -header("Location: /admin"); +header("Location: /admin/"); ?> diff --git a/html/account.html b/html/account.html index ccba599..4c5b97d 100755 --- a/html/account.html +++ b/html/account.html @@ -20,7 +20,7 @@ <input class="toggle" type="checkbox" id="account"> <label class="username" for="account">{{username}}</label> <div class="menu"> - <a href="/profile?username={{profile}}">Profile</a> - <a href="/signout">Sign-out</a> + <a href="/profile/?username={{profile}}">Profile</a> + <a href="/signout/">Sign-out</a> </div> </div> diff --git a/html/footer.html b/html/footer.html index ddcb7b4..2ca4eb6 100755 --- a/html/footer.html +++ b/html/footer.html @@ -18,6 +18,6 @@ <div class="footer"> <p>© {{year}} Connor Thomson</p> - <p>Content licensed under the <a href="/license/content">Creative Commons Attribution-ShareAlike 4.0 International</a> license unless otherwise noted.</p> - <p>Website licensed under version 3 of the <a href="/license/website">GNU Affero General Public License</a> or any later version.</p> + <p>Content licensed under the <a href="/license/content/">Creative Commons Attribution-ShareAlike 4.0 International</a> license unless otherwise noted.</p> + <p>Website licensed under version 3 of the <a href="/license/website/">GNU Affero General Public License</a> or any later version.</p> </div> diff --git a/html/guest.html b/html/guest.html index c37d3fa..b7d506d 100755 --- a/html/guest.html +++ b/html/guest.html @@ -16,5 +16,5 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. --> -<a href="/signup">Sign-up</a> -<a href="/signin">Sign-in</a> +<a href="/signup/">Sign-up</a> +<a href="/signin/">Sign-in</a> diff --git a/signin/signin.php b/signin/signin.php index f7f3c23..8f2a88f 100755 --- a/signin/signin.php +++ b/signin/signin.php @@ -44,7 +44,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { if ($user['status'] == 'none') { set_user_id((int)$user['id']); - header("Location: /signup/verify"); + header("Location: /signup/verify/"); exit; } diff --git a/signup/signup.php b/signup/signup.php index 7648adf..a70ad9c 100755 --- a/signup/signup.php +++ b/signup/signup.php @@ -62,7 +62,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { $subject = "GNUfault.org Verification Code"; if (send_mail($email, $subject, (string)$code)) { - header("Location: verify"); + header("Location: verify/"); } else { echo "Failed to send"; exit; diff --git a/signup/verify/verify.php b/signup/verify/verify.php index 9e22132..a5e43af 100755 --- a/signup/verify/verify.php +++ b/signup/verify/verify.php @@ -74,7 +74,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { exit; } - header("Location: /signin"); + header("Location: /signin/"); } ?> |
