Beispiel #1
0
<?php

@session_start();
require_once realpath(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'smarty.php');
use nzedb\Install;
$page_title = "Welcome";
$cfg = new Install();
if ($cfg->isLocked()) {
    $cfg->error = true;
}
$cfg->cacheCheck = is_writable(SMARTY_DIR . 'templates_c');
if ($cfg->cacheCheck === false) {
    $cfg->error = true;
}
if (!$cfg->error) {
    $cfg->setSession();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>
		<?php 
echo $page_title;
?>
	</title>
	<link href="./templates/install.css" rel="stylesheet" type="text/css" media="screen" />
	<link rel="shortcut icon" type="image/ico" href="../themes_shared/images/favicon.ico"/>
</head>
<body>