require APP_PATH . 'pages/home.php'; die; } // docs if ($URI[0] === 'docs') { require APP_PATH . 'pages/docs.php'; die; } // examples if ($URI[0] === 'examples' && $URI[1] === '') { require APP_PATH . 'pages/examples.php'; die; } // single example if ($URI[0] === 'examples' && $URI[1] !== '') { $example = AC::getExample($URI[1]); if ($example !== false) { require APP_PATH . 'pages/single_example.php'; die; } } // themes if ($URI[0] === 'themes') { require APP_PATH . 'pages/themes.php'; die; } // download if ($URI[0] === 'download') { require APP_PATH . 'pages/download.php'; die; }