New Zenner
- Join Date:
- Jan 2006
- Posts:
- 44
- Plugin Contributions:
- 0
Question about file/ directory paths
zen_image(DIR_WS_TEMPLATES.'template_default/'.DIR_WS_IMAGES.'icons/error.gif')
In the above code, is there a way to write it so that I can avoid hard-coding "template_default/"? If I move error.gif file in my override folder, I will have to change the above code and replace "template_default/" with my override directory. Is there a way to make the code more generalised?