Home › Forums › Back End › Link To CSS File With PHP › Re: Link To CSS File With PHP
June 24, 2011 at 7:10 pm
#82356
ddliu
Member
@sebgonz, you can define it any where before the template.
@noahgelman, yes I agree that @DboG’s way is simple and strait-forward, but it’s not that flexible and not configurable. What if the app is not at the root URL? For example, it’s a news app located at http://www.example.cm/news, or a blog app located at http://www.example.com/blog, or even more, you have to change it to another location someday…
Anyway, if your app is located at the root and will not be changed, @DboG’s way is recommended.
Hope it’s clear.