Codeigniter echoing [::1] instead of localhost

后端 未结 5 1640
误落风尘
误落风尘 2020-12-03 05:38

I am using CodeIgniter 3 as a web platform and trying to import semantic-UI CSS into my page. I\'m doing so by using CodeIgniter\'s base_url() method in the hre

5条回答
  •  无人及你
    2020-12-03 06:29

    It's because of your base_url is empty.

    In config/config.php

    $config['base_url'] = 'http://localhost/project_name';
    

    Something more interesting about http://\[::1\]/

提交回复
热议问题