havok89 / Hoosk

Hoosk Codeigniter CMS
http://hoosk.org
Other
128 stars 87 forks source link

Base_url() Navigation does not work #31

Closed Afdhal-Mahdi closed 4 years ago

Afdhal-Mahdi commented 7 years ago

Base_url() Navigation does not work. On the front page the header menu does not point to base_url()

havok89 commented 7 years ago

the system uses the constant BASE_URL which you set up during install and is in your config.php file

Afdhal-Mahdi commented 7 years ago

In the config is appropriate, because base_url elsewhere is not a problem

kingdominc commented 7 years ago

@Afdhal-Mahdi - If your a CodeIgniter expert you already know that in the url helper there is a function called base_url. However Hoosk uses a CONSTANT of BASE_URL instead of utilizing the helper function.

To hopefully clear this up for others who may be reading these issues: base_url() is a function in the url helper. This function is not utilized by Hoosk. BASE_URL is a constant defined in your config.php (the one in your base folder, not the one in the config folder)