diff options
author | Freya Murphy <freya@freyacat.org> | 2024-05-20 17:11:38 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-05-20 17:11:38 -0400 |
commit | 708594d32ffe779cf547c816fa7cdd19d095be2e (patch) | |
tree | 30d28553316db02bc027664e17b76d58f2e352ff /src/web/_model/apps/settings.php | |
parent | add en_CAT makefile and use ucfirst/ucwords (diff) | |
download | xssbook2-708594d32ffe779cf547c816fa7cdd19d095be2e.tar.gz xssbook2-708594d32ffe779cf547c816fa7cdd19d095be2e.tar.bz2 xssbook2-708594d32ffe779cf547c816fa7cdd19d095be2e.zip |
v2 done
Diffstat (limited to 'src/web/_model/apps/settings.php')
-rw-r--r-- | src/web/_model/apps/settings.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/web/_model/apps/settings.php b/src/web/_model/apps/settings.php new file mode 100644 index 0000000..1f1e3f9 --- /dev/null +++ b/src/web/_model/apps/settings.php @@ -0,0 +1,16 @@ +<?php /* Copyright (c) 2024 Freya Murphy */ +class Settings_model extends Model { + + private $request_model; + + function __construct($load) { + parent::__construct($load); + $this->request_model = $this->load->model('request'); + } + + public function get_data(): ?array { + $data = parent::get_data(); + $data['title'] = ucfirst(lang('title')); + return $data; + } +} |