diff options
author | William Poetra Yoga <30787981+wpyh@users.noreply.github.com> | 2018-05-30 05:04:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-30 05:04:01 +0200 |
commit | 605dcbc55ed4dfa1c8fb8ed659dc51b0710ff165 (patch) | |
tree | bb3533ef83271af4ad029292fd760bf2a8c10cff /system/database/DB_driver.php | |
parent | e837b9b8705c222d49f86ab051d2df717d986c5b (diff) |
Use Config::base_url() properly
Using the Config::slash_item() method, we get double forward slashes. For example, base_url = 'http://localhost:8080/' and asset is '/assets/my_asset.css', then the generated URL would be 'http://localhost:8080//assets/my_asset.css'.
This patch fixes that, so the generated URL would be 'http://localhost:8080/assets/my_asset.css'. There is actually already an analog example in the case if index_page === TRUE, where the site_url() function is used.
Diffstat (limited to 'system/database/DB_driver.php')
0 files changed, 0 insertions, 0 deletions