I am trying to access the third_party folder in codeigniter with the following code, but it keeps giving me a 404 not found error
$config['theme']['url'] = trim(config_item('base_url'), '/ ') . '/application/third_party/themes/';
I have also tried removing application
$config['theme']['url'] = trim(config_item('base_url'), '/ ') . '/third_party/themes/';
What do I need to do to access this, so I can have my theme folders and files in the third_party folder?
BTW
The above code is in a config file config/template.php
The problem is when the stylesheets are called in the folder, they get rejected and return the 404 error......
Try,
<?php
APPPATH.'third_party/myfolder/myfile.ext';
?>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With