summaryrefslogtreecommitdiff
path: root/src/web/core
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-04-05 13:46:33 -0400
committerFreya Murphy <freya@freyacat.org>2024-04-05 13:46:33 -0400
commitadc545a0cb55836c92f8e7e31153584c219767aa (patch)
tree1b9fec9b6ed3eb90105f999a76e9ed7d00eaeb54 /src/web/core
parentfollow ppl (diff)
downloadxssbook2-adc545a0cb55836c92f8e7e31153584c219767aa.tar.gz
xssbook2-adc545a0cb55836c92f8e7e31153584c219767aa.tar.bz2
xssbook2-adc545a0cb55836c92f8e7e31153584c219767aa.zip
user menu
Diffstat (limited to 'src/web/core')
-rw-r--r--src/web/core/_controller.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/web/core/_controller.php b/src/web/core/_controller.php
index 4a788d3..3502ea5 100644
--- a/src/web/core/_controller.php
+++ b/src/web/core/_controller.php
@@ -10,6 +10,9 @@ abstract class Controller {
// the database
public $db;
+ // the format model
+ protected $format_model;
+
/**
* Creates a constructor
* @param Loader $load - the website loaded object
@@ -26,6 +29,8 @@ abstract class Controller {
if ($app) {
$this->load->app_lang($lang, $app);
}
+
+ $this->format_model = $this->load->model('format');
}
public function index() {}