diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-09 12:10:15 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-09 12:10:15 +0200 |
commit | 1ff23336004fb0870e8329a163f6edd851417b01 (patch) | |
tree | 97d7d66966923ecb356222ff55247df2054b74ca /inc/functions.php | |
parent | 8784f0956b5c1d4465498ebb4c67ce9ed300299c (diff) | |
download | wallabag-1ff23336004fb0870e8329a163f6edd851417b01.tar.gz wallabag-1ff23336004fb0870e8329a163f6edd851417b01.tar.zst wallabag-1ff23336004fb0870e8329a163f6edd851417b01.zip |
début de nettoyage des fichiers inclus
Diffstat (limited to 'inc/functions.php')
-rwxr-xr-x | inc/functions.php | 4 |
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 | ||
3 | function url(){ | 3 | function 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 | ||