search

Home  >  Q&A  >  body text

PHP - Printing site_url and base_url in the ci framework has the same effect?

Why do I use the site_url() function and the base_url function in my ci framework to have the same effect? The printed results are exactly the same.

PHP中文网PHP中文网2721 days ago1191

reply all(1)I'll reply

  • 迷茫

    迷茫2017-06-19 09:09:13

    Excerpted from CI documentation

    This function is the same as the site_url() function, except that index_page or url_suffix is ​​not added after the URL.

    reply
    0
  • Cancelreply