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:
parent
8784f0956b
commit
1ff2333600
2 changed files with 3 additions and 23 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue