]> git.deb.at Git - pkg/blosxom.git/blobdiff - blosxom.cgi
bump version number
[pkg/blosxom.git] / blosxom.cgi
index 48ee5c1f7668cf7bd136522e887a29d9934f0a2f..4005c8c8898759d9f8937ac964507ed9d9d50ed9 100755 (executable)
@@ -2,7 +2,7 @@
 
 # Blosxom
 # Author: Rael Dornfest <rael@oreilly.com>
-# Version: 2.0.1
+# Version: 2.0.2
 # Home/Docs/Licensing: http://www.blosxom.com/
 # Development/Downloads: http://sourceforge.net/projects/blosxom
 
@@ -76,7 +76,7 @@ use File::stat;
 use Time::localtime;
 use CGI qw/:standard :netscape/;
 
-$version = "2.0";
+$version = "2.0.2";
 
 my $fh = new FileHandle;
 
@@ -363,7 +363,7 @@ sub generate {
       ($path,$fn) = $path_file =~ m!^$datadir/(?:(.*)/)?(.*)\.$file_extension!;
   
       # Only stories in the right hierarchy
-      $path =~ /^$currentdir(?=$|/)/ or $path_file eq "$datadir/$currentdir" or next;
+      $path =~ /^$currentdir/ or $path_file eq "$datadir/$currentdir" or next;
   
       # Prepend a slash for use in templates only if a path exists
       $path &&= "/$path";