I have apache rewrite on which I need because it's making my URL seo
friendly.
So I have say index.php and my site is set up so that the URL will
show index.html

I have tried this code:

  var cfile = new URI().get('file');
  var togglers = $$('li a.tog2');
  var curtC = Cookie.read('activestate');
  if(curtC == null || curtC < 0 || curtC == '' || (cfile !=
'index.php')){
        curtC = Cookie.write('activestate', -1);
  }

Which is working but it's returning index.html as the file name.

However, the real filename is index.php
How can I get the REAL filename?

Thank you.

Reply via email to