dequis / wakarimasen

anonymous group photoblog software
Do What The F*ck You Want To Public License
18 stars 7 forks source link

Generate .htaccess from database + .htaccess-header #19

Open dequis opened 12 years ago

dequis commented 12 years ago

edit_admin_entry doesn't remove htaccess entries

i accidentally banned one of my addresses forever ;_;

also, the wakaba version of that function seems to add more information to the staff log

weedy commented 11 years ago

I was thinking, can we just rewrite the entire file?

Like I can't seem to keep anything in the htaccess because it get rewritten at some point (race?).

If we just redid the entire file to begin with we could allow for a .htaccess-header and I can just add my crap there and never have to worry about it. Also the DB and the file could never become out of sync.

dequis commented 11 years ago

good idea, changing ticket title

dequis commented 11 years ago

this also could simplify #41