This commit is contained in:
ArthurHoaro 2013-03-20 15:11:14 +01:00
commit efad8ab1c6
2 changed files with 2 additions and 6 deletions

View file

@ -880,11 +880,7 @@ if ($vvb->mustUpdate())
echo '
</body>
</html>';
// Escaping HTML strings
function escape($str)
{
return htmlspecialchars($str, ENT_COMPAT, 'UTF-8', false);
}
function escape_content($str)
{

2
0.3/class_rssfeed.php Normal file → Executable file
View file

@ -254,7 +254,7 @@ class AutoblogRSS extends FileRSSFeed {
);
}
public function addNewAutoblog($title, $folder, $siteurl, $rssurl, $code) {
public function addNewAutoblog($title, $folder, $siteurl, $rssurl) {
$path = pathinfo( $_SERVER['PHP_SELF'] );
$autobHref = 'http'.(!empty($_SERVER['HTTPS'])?'s':'').'://'.
$_SERVER["SERVER_NAME"].$_SERVER["SERVER_PORT"]. $path['dirname'].'/'.$folder;