Welcome Guest, Not a member yet? Register   Sign In
.htaccess trouble with CodeIgniter 2.0
#2

[eluser]Twisted1919[/eluser]
Pointing to images/css/js within the app folder is not the best idea (though is not something bad).
Usually, you would create a js/css/images folder in the root of your app(near app and sys folders) and load the resources from there.

But, removing that .htaccess from the app folder doesn't cause any damage, as long as your files have a
Code:
<?php if( ! defined('BASEPATH')) exit('No direct script access allowed');?>
so that if the file is directly accessed it will stop the execution, then you are safe.


Messages In This Thread
.htaccess trouble with CodeIgniter 2.0 - by El Forum - 02-02-2011, 08:53 AM
.htaccess trouble with CodeIgniter 2.0 - by El Forum - 02-02-2011, 09:09 AM
.htaccess trouble with CodeIgniter 2.0 - by El Forum - 02-02-2011, 11:25 AM
.htaccess trouble with CodeIgniter 2.0 - by El Forum - 02-02-2011, 11:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB