forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Hooligan on June 10, 2005, 05:55:01 pm

Title: Themes directory visible
Post by: Hooligan on June 10, 2005, 05:55:01 pm
Just wanted to say it might be a good idea to place an index.htm file in the Themes directory to prevent users from viewing/leeching. I use:

<script>history.go(-1);</script>
Title: Re: Themes directory visible
Post by: Joachim Müller on June 13, 2005, 09:15:24 am
more effective (as it doesn't need JavaScript to be turned on) is
Code: [Select]
<meta http-equiv="refresh" content="0; url=../index.php">in the <head> section of the page. Even better is a refresh using .htaccess means. However: if someone knows his way around in coppermine, he/she can always get template.html and style.css by entering the urls directly.

Everything you do won't keep others from stealing your theme though, only make it harder for complete newbies.