Problems encountered using CI report an error: Call to undefined function base_url()

Source of the problem: When using the base_url() function to import the CSS file in the HTML file, I found an error: Call to undefined function base_url()

After researching it, I found out that it is because the url assistant is not loaded. You can find $autoload['helper'] = array('') in config/autoload.php; just add the url to the array

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325319974&siteId=291194637