Strip tags from user tagline.txt files
This commit is contained in:
parent
dcb2a67ff1
commit
36ddf8b7a6
|
@ -18,7 +18,7 @@
|
|||
$user = basename($user);
|
||||
$tagline = "/home/$user/public_html/tagline.txt";
|
||||
if (!is_file($tagline)) continue;
|
||||
$tag = file_get_contents($tagline);
|
||||
$tag = strip_tags(file_get_contents($tagline));
|
||||
?>
|
||||
<p><a href="/~<?=$user?>/"><strong>~<?=$user?></strong></a> - <?=$tag?></p>
|
||||
<?php } ?>
|
||||
|
|
Loading…
Reference in New Issue