This commit is contained in:
ArthurHoaro 2013-06-30 16:52:53 +02:00
parent 042b9b9576
commit 8e8797457d
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View file

@ -7,3 +7,5 @@ resources/rss.json
resources/user.css
autoblogs/*
!autoblogs/autoblog.php
docs/*
!docs/docs.txt

View file

@ -861,7 +861,7 @@ if( !empty($_POST['opml_file']) && ALLOW_NEW_AUTOBLOGS && ALLOW_NEW_AUTOBLOGS_BY
foreach($subdirs as $unit)
{
if(!is_dir($unit) || file_exists( $unit . '/index.html' ) || file_exists( $unit . '/index.htm' ) || file_exists( $unit . '/index.php' ) ) {
$docs[] = '<a href="'. $unit . '">'. substr($unit, (strrpos($unit, '/')) + 1 ) .'</a>';
$docs[] = '<a href="'. urlencode($unit) . '">'. substr($unit, (strrpos($unit, '/')) + 1 ) .'</a>';
}
}
}