aboutsummaryrefslogtreecommitdiffstats
path: root/public/install/controller/common/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/install/controller/common/header.php')
-rw-r--r--public/install/controller/common/header.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/public/install/controller/common/header.php b/public/install/controller/common/header.php
new file mode 100644
index 0000000..1768edb
--- /dev/null
+++ b/public/install/controller/common/header.php
@@ -0,0 +1,16 @@
+<?php
+class ControllerCommonHeader extends Controller {
+ public function index() {
+ $this->load->language('common/header');
+
+ $data['title'] = $this->document->getTitle();
+ $data['description'] = $this->document->getDescription();
+ $data['links'] = $this->document->getLinks();
+ $data['styles'] = $this->document->getStyles();
+ $data['scripts'] = $this->document->getScripts();
+
+ $data['base'] = HTTP_SERVER;
+
+ return $this->load->view('common/header', $data);
+ }
+} \ No newline at end of file