diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-02-23 22:57:27 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-02-23 22:57:27 -0500 |
| commit | f373ead95fb5beb962c376b5b7b46dfde8ac4e57 (patch) | |
| tree | c99df23521ff2a5e5e2e4627c525a5e99dc2e3ae /src/web/_controller/_comments.php | |
| parent | add 96x96 logo (diff) | |
| download | website-f373ead95fb5beb962c376b5b7b46dfde8ac4e57.tar.gz website-f373ead95fb5beb962c376b5b7b46dfde8ac4e57.tar.bz2 website-f373ead95fb5beb962c376b5b7b46dfde8ac4e57.zip | |
update website to work with crimson framework
Diffstat (limited to 'src/web/_controller/_comments.php')
| -rw-r--r-- | src/web/_controller/_comments.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/web/_controller/_comments.php b/src/web/_controller/_comments.php index 3b8fe35..c81ae9d 100644 --- a/src/web/_controller/_comments.php +++ b/src/web/_controller/_comments.php @@ -5,6 +5,7 @@ class _comments_controller extends Controller { function __construct() { $this->comments_model = $this->load_model('_comments'); + $this->load_lang('common'); } public function comments(string $page, string $ref): void { @@ -12,7 +13,8 @@ class _comments_controller extends Controller { $this->view('comments', array( 'comments' => $data, 'ref' => $ref, - 'page' => $page + 'page' => $page, + 'ip', $this->comments_model->get_ip(), )); } |