1
paul34
language/index.html
  • 2003/10/20 8:27

  • paul34

  • Just popping in

  • Posts: 3

  • Since: 2003/10/7


I found that in most of the modules contain a index.html with the content
<script>history.go(-1);</script>

However, I found that in c-jay there is a index.html file but contains nothing.

What's the use of the file?

2
lykoszine
Re: language/index.html
  • 2003/10/20 10:40

  • lykoszine

  • Module Developer

  • Posts: 244

  • Since: 2002/1/2 2


It just stops people browsing your directory tree...

The JS is slightly more elegant, as it reirects you, instead of just presenting a blank page.

Someone should actually spend 5 minutes and cook up a sort of 404 like page that uses the site template, and gives people some links...