changes
This commit is contained in:
		
							
								
								
									
										14
									
								
								v4/index.php
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								v4/index.php
									
									
									
									
									
								
							@@ -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) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user