View config.php
<?php
// Pathes
define('INC_PATH', 'inc/');
define('DL_PATH', 'downloads/');
define('PAGE_PATH', 'page/');
define('SLIDE_PATH', 'img/slide/');
// Teeworlds Version
define('CURRENT_VERSION', '0.5.2');
View Class: Page
<?php
class page {
public function show($page='', $id='') {
// Variable '$page' wird gespeichert.
if($page == ''):
$this->page = 'index'
else: