Merge branch 'master' of https://github.com/mitsukarenai/Projet-Autoblog
This commit is contained in:
commit
efad8ab1c6
2 changed files with 2 additions and 6 deletions
|
@ -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
2
0.3/class_rssfeed.php
Normal file → Executable 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;
|
||||
|
|
Loading…
Reference in a new issue