Welcome Guest, Not a member yet? Register   Sign In
Lack of access to files in application/third_party/
#1

Hi, I am new to CI. In my application I am trying to use a template consists of various files (css, images, js etc.) I placed in application/third_party (to facilitate future updates).
When I open the first window, the result is incorrect because - I think - do not read CSS found in
   application/third_party/template/bootstrap/css

To connect the css, in the view I put:
PHP Code:
<link rel="stylesheet" href="<?php echo base_url() . 'application/third_party/template/bootstrap/css/bootstrap.min.css' ?>"

and in application/config/config.php:
PHP Code:
$config['base_url'] = 'http://localhost/my_application/'

Trying to view the css with Web Developer, the result is a "403 Error" (but the webserver is local and do not know whether this result is reliable).

I specify tha there is no .htaccess and I am working in local (Xampp 5.6.23 on Ubuntu 16.04 / Php 5.6.23 / CodeIgniter 3.1.0).

What can be the cause?
Suggestions?

Thank you.
Reply


Messages In This Thread
Lack of access to files in application/third_party/ - by marcom - 08-11-2016, 03:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB