This commit is contained in:
2023-03-04 23:46:16 +01:00
parent 50f196849b
commit 9dea0661d6
6 changed files with 32 additions and 11 deletions

View File

@ -14,14 +14,14 @@ error_reporting(-1);
date_default_timezone_set('Europe/Prague');
// site info
$keywords = "";
$keywords = "Filip Rojek, rojek, vyvojar, developer, backend vyvojar, nodejs vyvojar, php vyvojar, web vyvojar, programator, linux administrator";
$description = "";
$locale = "cs_CZ";
$title = "";
$site_name = "";
$title = "Filip Rojek | Developer";
$site_name = "Filip Rojek | Developer";
$author = "Fofrweb | https://fofrweb.com";
$email = "webmaster(@)fofrweb.com";
$canonical = "https://";
$canonical = "https://www.filiprojek.cz/";
?>
<!doctype html>
@ -57,13 +57,17 @@ $canonical = "https://";
<title><?= $title ?></title>
<link rel="canonical" href="<?= $canonical ?>" />
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<?php
require_once("./components/header.php");
if(isset($_GET['page'])) {
$file = $_GET['page'];
$file2 = dirname($_SERVER['SCRIPT_FILENAME']) . "/pages/$file/$file.php";
echo $file2;
echo $file;
if(file_exists($file2)) {
if(substr_count($file, "../") > 0) {