mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2025-08-09 23:52:25 -04:00
parent
d5a4beae84
commit
c3fc84e0bc
@ -57,8 +57,9 @@ class Template{
|
||||
<head>
|
||||
<?php
|
||||
if(!$admin){
|
||||
$headfile = fopen("head.txt", "r") or die("Unable to open head.txt!");
|
||||
$head_additionalcode = fread($headfile,filesize("head.txt"));
|
||||
$headpath = $_SERVER['DOCUMENT_ROOT'] . "/head.txt";
|
||||
$headfile = fopen("$headpath", "r") or die("Unable to open head.txt!");
|
||||
$head_additionalcode = fread($headfile,filesize($headpath));
|
||||
fclose($headfile);
|
||||
echo $head_additionalcode;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user