Making auto detecting of base url to be compatible with composer |
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 PHP Code: // Wrong! What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(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" /> |
Welcome Guest, Not a member yet? Register Sign In |