fix variables

forgotten $ and wrong variable
This commit is contained in:
Tealk 2021-03-18 10:29:57 +01:00
parent e8881a28d6
commit d5a4beae84
No known key found for this signature in database
GPG Key ID: 5FE349ABC863E7F9
1 changed files with 2 additions and 2 deletions

View File

@ -56,9 +56,9 @@ class Template{
<html lang="en">
<head>
<?php
if(!admin){
if(!$admin){
$headfile = fopen("head.txt", "r") or die("Unable to open head.txt!");
$head_additionalcode = fread($versionfile,filesize("head.txt"));
$head_additionalcode = fread($headfile,filesize("head.txt"));
fclose($headfile);
echo $head_additionalcode;
}