Welcome Guest, Not a member yet? Register   Sign In
Simple question about directories...
#1

[eluser]Unknown[/eluser]
Hey everyone,

I'm very new to CodeIgnitor (assuming control over a website, http://www.codekindness.org, built on CI) and have recently added a JS to control browser types into a new directory in root, JS.

However, if you check out the site, it's clear the JS directory isn't active (or isn't contributing the script for browser checking). Is there a way to activate directories in root web (public_html) through CI, to ensure that the script is bring read?

Thanks!
--Dave
#2

[eluser]xwero[/eluser]
you probably have to change the .htaccess file/directory exceptions
Quote:RewriteCond $1 !^(index\.php|images|robots\.txt)
Add the directory your js files are in and your js should work.
#3

[eluser]Unknown[/eluser]
Tremendous thanks! I suspected that, but did want to check beforehand.. :o)
--Dave




Theme © iAndrew 2016 - Forum software by © MyBB