[Project_owners] relative path use in local.conf

Michael Vincent van Rantwijk mv_van_rantwijk at yahoo.com
Fri Jun 29 12:10:46 PDT 2007


Chris Neale wrote:
> 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 : ]

No worries, I knew what you was saying with it ;)

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

This young Ubuntu user was still thinking MS Windows, but our local.conf 
is still untouched and fine so whatever ;)

>>> 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