Themes directory visible Themes directory visible
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Themes directory visible

Started by Hooligan, June 10, 2005, 05:55:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hooligan

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>
You know, Hobbes, some days even my lucky rocketship underpants don't help.

Joachim Müller

more effective (as it doesn't need JavaScript to be turned on) is <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.