diff options
author | cflip <36554078+cflip@users.noreply.github.com> | 2021-08-10 16:42:07 -0600 |
---|---|---|
committer | cflip <36554078+cflip@users.noreply.github.com> | 2021-08-10 16:42:07 -0600 |
commit | 39f4d2134f332d3d6577f8cf5b3f4b9d4f665c41 (patch) | |
tree | 6521fed114e0227683291d17c7c7d8a14d1040a7 /includes/model | |
parent | 5d703ab4ea6e8ead889232ba846596b948bdb051 (diff) |
Change URLs to relative paths
Diffstat (limited to 'includes/model')
-rwxr-xr-x | includes/model/Post.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/model/Post.php b/includes/model/Post.php index f251773..7e02793 100755 --- a/includes/model/Post.php +++ b/includes/model/Post.php @@ -17,7 +17,7 @@ function create_quote(int $id): string return '<blockquote><span style="color:red;">This post has been deleted</span></blockquote>';
}
- return '<blockquote><a href="/viewthread.php?id=' . $reply['post_thread'] . '#p' . $id . '">Quote from ' . $reply['user_name'] . '</a><br>' . $reply['post_content'] . '</blockquote>';
+ return '<blockquote><a href="viewthread.php?id=' . $reply['post_thread'] . '#p' . $id . '">Quote from ' . $reply['user_name'] . '</a><br>' . $reply['post_content'] . '</blockquote>';
}
function format_post_content(string $post_content)
|