I have this structure but can't acces (css, js, img) files
application
- views
-- template
--- admin
---- css
----- style.css
---- js
---- img
--- default
---- css
----- style.css
---- js
---- img
i have this .htaccess
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php/$1 [L]
Now i remove htaccess from application but is not a good solution
Code:
<?php echo base_url('application/views/admin/css/style.css'); //don't work ?>
<?php echo base_url('application/views/default/css/style.css'); //don't work ?>application
- views
-- template
--- admin
---- css
----- style.css
---- js
---- img
--- default
---- css
----- style.css
---- js
---- img
i have this .htaccess
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php/$1 [L]
Now i remove htaccess from application but is not a good solution