Currently I display images in the following way:

```
<img src="<?php echo base_url().USER_UPLOAD_URL.$post['userPhoto'] ?>" />

```

USER\_UPLOAD\_URL is defined inside application/config/constants.php.

```
define('USER_UPLOAD_URL', "uploads/user_uploads/");

```

Is there any way to include base\_url() inside constants.php? In this way I wouldn't need to write each time base\_url() inside view. Is there any alternative approach?

tnx