profile stuff
This commit is contained in:
parent
268dfc9876
commit
66281a4db6
2 changed files with 6 additions and 1 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue