forked from wallabag/wallabag
début de nettoyage des fichiers inclus
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
function url(){
|
||||
function url() {
|
||||
$protocol = "http";
|
||||
if(isset($_SERVER['HTTPS']))
|
||||
if($_SERVER['HTTPS'] != "off")
|
||||
@ -22,8 +22,6 @@ function generate_page($url,$title,$content) {
|
||||
$tpl->assign( "title", $title);
|
||||
$tpl->assign( "content", $content);
|
||||
|
||||
$tpl->assign( "version", VERSION);
|
||||
|
||||
$tpl->draw( "index"); // draw the template
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user