Move accessible files to public folders and adjust paths.
This commit is contained in:
22
public/admin/index.php
Normal file
22
public/admin/index.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
// Include required components.
|
||||
$path2root = __DIR__ . '/../..';
|
||||
include $path2root . '/inc/config.php';
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<title>Administrationsbereich Ferienhaus - Wille</title>
|
||||
<link rel="stylesheet" type="text/css" href="/css/admin.css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root">
|
||||
<div id="header"><?php include $path2root . '/admin/header.php'; ?></div>
|
||||
<div id="links"><?php include $path2root . '/admin/links.php'; ?></div>
|
||||
<div id="inhalt"><?php include $path2root . '/admin/inhalt.php'; ?></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user