Fix bug where blogDir wouldn't be set properly
This commit is contained in:
		
							parent
							
								
									4ceb1e936d
								
							
						
					
					
						commit
						0837caa70a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -186,7 +186,7 @@ fn select_handler { | ||||||
|     # Rss feeds. TODO: we should check that the request is for a real blog dir |     # Rss feeds. TODO: we should check that the request is for a real blog dir | ||||||
|     if not if (~ $REQUEST_URI */index.rss) { |     if not if (~ $REQUEST_URI */index.rss) { | ||||||
|         uri = `{echo $uri | sed 's/index.rss$//'} |         uri = `{echo $uri | sed 's/index.rss$//'} | ||||||
|         if (~ $blogDirs 0) |         if (~ $#blogDirs 0) | ||||||
|             blogDirs = $sitedir^$uri |             blogDirs = $sitedir^$uri | ||||||
|         uri=$baseuri$"uri |         uri=$baseuri$"uri | ||||||
|         master_template=feeds/rss20.tpl |         master_template=feeds/rss20.tpl | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Uriel
						Uriel