Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

site_url('fuel') returns wrong url if $config['fuel_path'] is set

edited April 2016 in Bug Reports
Just being a bit nick-picky here...

If you change:

$config['fuel_path'] = 'admin/';

then

site_url('fuel')

should output the proper value. 'fuel' should be replaced with 'admin'

Comments

  • edited 12:53AM
    That sounds like you are wanting site_url to be able to look at a list of aliases and generate the proper URL. FUEL does currently overwrite the site_url function to allow for things like language parameters in the URI, however, it doesn't currently include any concept of link aliases (nor does CI that I know of).
Sign In or Register to comment.