Here is the code please check what's wrong i did
$config['base_url'] = 'http://'.$_SERVER['HTTP_HOST'].'/e-biotech/';
@define(SITEURL,$config['base_url']);
Just remove @define(SITEURL,$config['base_url']);
Config.php
$config['base_url'] = 'http://'.$_SERVER['HTTP_HOST'].'/e-biotech/';
Now in your view file
you can sue site_url() as below
<head>
<base href="<?= site_url() ?>">
And your assets will load perfectly
constants.phpwill load beforeconfig.php, so you cant use config file variable inside constant file, you can create constant of base url and use in config file.