boka3/index.php
2019-06-11 17:19:00 +02:00

23 lines
403 B
PHP
Executable File

<?php
spl_autoload_register(function ($class) {
if($class == 'QRcode') {
include('./phpqrcode/qrlib.php');
return;
}
include('./include/'.$class.'.php');
});
require('./config.php');
require('./include/functions.php');
header('Content-Type: text/html; charset=UTF-8');
$page = null;
if(isset($_GET['page'])) {
$page = $_GET['page'];
}
make_page($page)->render();
?>