![]() |
Making auto detecting of base url to be compatible with composer - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Feature Requests (https://forum.codeigniter.com/forumdisplay.php?fid=29) +--- Thread: Making auto detecting of base url to be compatible with composer (/showthread.php?tid=74649) |
Making auto detecting of base url to be compatible with composer - Chivinsdev - 10-19-2019 Hello I love detecting my base url automatically which I discovered not compatible with composer base on http and at the same time not compatible to public file assets including such as: PHP Code: <img src="base_url('public/images/').'logo.png'" /> And here is my modification of app/Config/App.php PHP Code: public function __construct() Please can you make this compatible with compser it is not working for PHP Code: php spark RE: Making auto detecting of base url to be compatible with composer - InsiteFX - 10-20-2019 PHP Code: // Wrong! RE: Making auto detecting of base url to be compatible with composer - Chivinsdev - 10-24-2019 (10-20-2019, 12:14 PM)InsiteFX Wrote:Sorry that was a typo mistake i meant this PHP Code: <img src="<?php echo base_url('public/images/');?>logo.png" /> |