Skip to content

Commit 3c54049

Browse files
author
Yiğit Kerem Oktay
authored
Update template.php
1 parent e09d02c commit 3c54049

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

template.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ public static function render_header($page_name, $admin = false){
2525
<html lang="en">
2626
<head>
2727
<?php
28-
$headfile = fopen("head.txt", "r") or die("Unable to open head.txt!");
29-
$head_additionalcode = fread($versionfile,filesize("head.txt"));
30-
fclose($headfile); ?>
28+
include_once "head.php"; ?>
3129
<meta charset="utf-8">
3230
<title><?php echo $page_name." - ".NAME ?></title>
3331
<meta name="viewport" content="width=device-width, initial-scale=1">

0 commit comments

Comments
 (0)