aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rwxr-xr-xinc/functions.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 9d321c67..6fa5a17a 100755
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -1,6 +1,6 @@
1<?php 1<?php
2 2
3function url(){ 3function url() {
4 $protocol = "http"; 4 $protocol = "http";
5 if(isset($_SERVER['HTTPS'])) 5 if(isset($_SERVER['HTTPS']))
6 if($_SERVER['HTTPS'] != "off") 6 if($_SERVER['HTTPS'] != "off")
@@ -22,8 +22,6 @@ function generate_page($url,$title,$content) {
22 $tpl->assign( "title", $title); 22 $tpl->assign( "title", $title);
23 $tpl->assign( "content", $content); 23 $tpl->assign( "content", $content);
24 24
25 $tpl->assign( "version", VERSION);
26
27 $tpl->draw( "index"); // draw the template 25 $tpl->draw( "index"); // draw the template
28} 26}
29 27