profile stuff

This commit is contained in:
Murphy 2024-06-01 00:39:10 -04:00
parent 268dfc9876
commit 66281a4db6
Signed by: freya
GPG key ID: 744AB800E383AE52
2 changed files with 6 additions and 1 deletions

View file

@ -22,6 +22,11 @@ class Profile_controller extends Controller {
} }
public function index(): void { public function index(): void {
if ($this->main->user() && !isset($_GET['id'])) {
$this->redirect('/profile?id=' . $this->main->user()['id']);
}
parent::index(); parent::index();
$data = $this->profile_model->get_data(); $data = $this->profile_model->get_data();

View file

@ -1,6 +1,6 @@
<?php /* Copyright (c) 2024 Freya Murphy */ <?php /* Copyright (c) 2024 Freya Murphy */
$lang['version'] = 'Version 2.0.6'; $lang['version'] = 'Version 2.0.7';
$lang['copyright'] = 'Freya Murphy © 2024'; $lang['copyright'] = 'Freya Murphy © 2024';
// Navigation Bar Lang // Navigation Bar Lang