formatting
This commit is contained in:
parent
af9e6a6376
commit
e1951606c0
45
index.php
45
index.php
@ -1,35 +1,34 @@
|
|||||||
<?php
|
<?php
|
||||||
$prod = false;
|
$prod = false;
|
||||||
|
|
||||||
require_once("./libraries/router.php");
|
require_once("./libraries/router.php");
|
||||||
require_once("./libraries/console.php");
|
require_once("./libraries/console.php");
|
||||||
|
|
||||||
// Display Errors
|
// Display Errors
|
||||||
ini_set('display_startup_errors', 1);
|
ini_set('display_startup_errors', 1);
|
||||||
ini_set('display_errors', 1);
|
ini_set('display_errors', 1);
|
||||||
error_reporting(-1);
|
error_reporting(-1);
|
||||||
|
|
||||||
// Display var_dump
|
// Display var_dump
|
||||||
#var_dump($_SESSION);
|
#var_dump($_SESSION);
|
||||||
|
|
||||||
// Date Time Zone
|
// Date Time Zone
|
||||||
date_default_timezone_set('Europe/Prague');
|
date_default_timezone_set('Europe/Prague');
|
||||||
|
|
||||||
// site info
|
// site info
|
||||||
$keywords = "Filip Rojek, rojek, vyvojar, developer, backend vyvojar, nodejs vyvojar, php vyvojar, web vyvojar, programator, linux administrator";
|
$keywords = "Filip Rojek, rojek, vyvojar, developer, backend vyvojar, nodejs vyvojar, php vyvojar, web vyvojar, programator, linux administrator";
|
||||||
$description = "Linux user, backend web developer and student.";
|
$description = "Linux user, backend web developer and student.";
|
||||||
$locale = "cs_CZ";
|
$locale = "cs_CZ";
|
||||||
$title = "Filip Rojek | Developer";
|
$title = "Filip Rojek | Developer";
|
||||||
$site_name = "Filip Rojek | Developer";
|
$site_name = "Filip Rojek | Developer";
|
||||||
$author = "Fofrweb | https://fofrweb.com";
|
$author = "Fofrweb | https://fofrweb.com";
|
||||||
$email = "webmaster(@)fofrweb.com";
|
$email = "webmaster(@)fofrweb.com";
|
||||||
$canonical = "https://www.filiprojek.cz/";
|
$canonical = "https://www.filiprojek.cz/";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
|
||||||
@ -51,11 +50,11 @@ if($prod) { ?>
|
|||||||
<meta name="robots" content="index,follow" />
|
<meta name="robots" content="index,follow" />
|
||||||
<meta name="Seznambot" content="index,follow" />
|
<meta name="Seznambot" content="index,follow" />
|
||||||
<meta name="Googlebot" content="index,follow" />
|
<meta name="Googlebot" content="index,follow" />
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<meta name="robots" content="noindex, nofollow" />
|
<meta name="robots" content="noindex, nofollow" />
|
||||||
<meta name="Seznambot" content="noindex, nofollow" />
|
<meta name="Seznambot" content="noindex, nofollow" />
|
||||||
<meta name="Googlebot" content="noindex, nofollow" />
|
<meta name="Googlebot" content="noindex, nofollow" />
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<title><?= $title ?></title>
|
<title><?= $title ?></title>
|
||||||
<link rel="icon" type="image/x-icon" href="/img/fr.ico" />
|
<link rel="icon" type="image/x-icon" href="/img/fr.ico" />
|
||||||
|
@ -58,3 +58,4 @@ if(isset($_POST['email']) && isset($_POST['message'])) {
|
|||||||
echo "<a href='/'>Zpět</a>";
|
echo "<a href='/'>Zpět</a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user