How to prevent users from opening my themes directory or at least preventing wordpress from outputting an error.
For example when I open this link in my wordpress blog
I have this error
Fatal error: Call to undefined function get_header() in ..
How can I prevent this from happening ?