mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2024-11-12 23:36:10 -05:00
fix variables
forgotten $ and wrong variable
This commit is contained in:
parent
e8881a28d6
commit
d5a4beae84
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user