Archived
1
0
This repository has been archived on 2020-12-10. You can view files and clone it, but cannot push or open issues or pull requests.
old/application/controllers/About.php

23 lines
549 B
PHP
Raw Permalink Normal View History

2018-10-16 16:28:42 +00:00
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class About extends MY_Controller {
public function __construct() {
parent::__construct('about');
}
public function index()
{
$this->load->view('header', ['active' => 'about', 'title' => lang('about_sitetitle')]);
$this->load->view('about');
$this->load->view('footer');
}
public function impressum() {
$this->load->view('header', ['active' => '', 'title' => 'Impressum']);
$this->load->view('impressum');
$this->load->view('footer');
}
}