[Project_owners] relative path use in local.conf

Chris Neale cdn at mozdev.org
Fri Jun 29 11:52:13 PDT 2007


Chris Neale wrote:
> On Thursday 28 June 2007 23:55, Michael Vincent van Rantwijk wrote:
>> Why can't we use something like:
>>
>> $local_conf_skin="\css\default.css"
> 
> Unix paths have back slashes :)
>

This was either supposed to be :

Unix paths have back slashes ? :)

or

Unix paths have back slashes :D

or I knew what I meant and I still got it wrong when I typed it : ]


"you cannot do \css\filename.css - the web is unix; freebsd is unix; php 
is unix when on unix [freebsd]"


>> but do we need to use a full path like:
>>
>> $local_conf_skin="http://multizilla.mozdev.org/css/default.css" ?
> 
> The current templating system takes that and makes substitutions - it was 
> written to accept a full URL
> 
>> p.s. wasn't there some global PHP var with the visited project name?
>>
> 
> $project usually
> 
> definition HOST covers 'mozdev.org'
> 
> cdn




More information about the Project_owners mailing list