Is there a reason that base_url is not one of the allowed functions by default in parser config file

edited January 2012 in Share
I was getting a dwoo error on a view where I was doing <img src="<?php base_url();?>assets/images/..... />

Once I added base_url to the parser config file, I get no dwoo error, and the page renders correctly. Should base_url be one of the default functions allowed by dwoo?

Comments

  • edited 3:00AM
    We use site_url or in the example above the img_path() function (which are allowed by Dwoo). Is there a reason why you prefer base_url()?
  • edited 3:00AM
    Nope img_path will work. I guess i'm still getting used to fuelcms and the helpers that are available. Thanks!
Sign In or Register to comment.