sNews Forum

Previous sNews versions => sNews 1.7 RC => sNews 1.7 RC => Topic started by: Hedphuq on October 13, 2008, 04:16:25 PM

Title: RC2 view files bug (with fix)
Post by: Hedphuq on October 13, 2008, 04:16:25 PM
When trying to view the files in a directory there is a little bug. It will redirect you to "http://examplesnewssite.com/files/" wich does not exsist unless you got a page with a SEF title "files" but obviously that won't be the correct location.
To fix it change:
Code: [Select]
echo '<form method="post" action="files/" enctype="multipart/form-data">';to
Code: [Select]
echo '<form method="post" action="snews_files/" enctype="multipart/form-data">';

Title: Re: RC2 view files bug (with fix)
Post by: philmoz on October 14, 2008, 09:19:47 PM
damn... missed that one..
thx for that.

RC2 d/load updated.
Title: Re: RC2 view files bug (with fix)
Post by: Hedphuq on October 15, 2008, 01:33:52 PM
I'm glad I could help.