1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

début de nettoyage des fichiers inclus

This commit is contained in:
nicosomb 2013-04-09 12:10:15 +02:00
parent 8784f0956b
commit 1ff2333600
2 changed files with 3 additions and 23 deletions

View file

@ -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
}