[eluser]wekadesign[/eluser]
i think, it`s more secure if you place your css file not on your APPPATH, You can add under directory_your_ci_apps_in for example
- system
- application
- chace
- etc...
- css --> add your css file inside this folder
and you can access with
<? echo link_tag('css/mystyles.css'); ?>
or
<link rel=“stylesheet” type=“text/css” href=“<?=base_url();?>css/action.css” media=“screen,projection” />
if you remove index.php with adding .htaccess file, you must create htaccess file like this
RewriteEngine on
RewriteCond $1 !^(index\.php|css|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]