Jsoif
Jsoif

Reputation: 3

Why base_url function returns the ipv6 address of my PC

I am developing an application with codeigniter 3.0.3. After configuring and installing the template, I notice that the base_url () function instead of returning the address to the root of my PC returns the ipv6 address instead.The version of wampserver used is 3.0.6

echo base_url ('style.css') => Please help.

Upvotes: 0

Views: 154

Answers (1)

Narf
Narf

Reputation: 14752

Because you haven't actually set your $config['base_url'], which you are required to do.

Also, 3.0.3 is a pretty old version by now, you should be upgrading to the latest - 3.1.3 at the time I'm writing this.

Upvotes: 1

Related Questions