Add support for additional code after head tag

This commit is contained in:
Yiğit Kerem Oktay 2020-08-24 16:24:05 +03:00 committed by GitHub
parent 8b2c664f36
commit 95f4fc5a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ class Template{
<!doctype html>
<html lang="en">
<head>
<?php
$headfile = fopen("head.txt", "r") or die("Unable to open head.txt!");
$head_additionalcode = fread($versionfile,filesize("head.txt"));
fclose($headfile); ?>
<meta charset="utf-8">
<title><?php echo $page_name." - ".NAME ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1">