Welcome Guest, Not a member yet? Register   Sign In
Making auto detecting of base url to be compatible with composer
#3

(10-20-2019, 12:14 PM)InsiteFX Wrote:
PHP Code:
// Wrong!
<img src="base_url('public/images/').'logo.png'" /> 

// Should be written like this.
<img src="<?= base_url('public/images/logo.png');?>" /> 
Sorry that was a typo mistake
i meant this
PHP Code:
<img src="<?php echo base_url('public/images/');?>logo.png" /> 
Even on this there is still error
Reply


Messages In This Thread
RE: Making auto detecting of base url to be compatible with composer - by Chivinsdev - 10-24-2019, 07:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB