diff --git a/.gitignore b/.gitignore
index 79c93a2..452c5e3 100755
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@ resources/rss.json
resources/user.css
autoblogs/*
!autoblogs/autoblog.php
+docs/*
+!docs/docs.txt
diff --git a/index.php b/index.php
index 53d5e25..4cf4579 100755
--- a/index.php
+++ b/index.php
@@ -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[] = ''. substr($unit, (strrpos($unit, '/')) + 1 ) .'';
+ $docs[] = ''. substr($unit, (strrpos($unit, '/')) + 1 ) .'';
}
}
}