gnuherds-app-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Comments -- With or without Microsoft server support


From: Klaus Weiss
Subject: Re: Comments -- With or without Microsoft server support
Date: Mon, 07 May 2007 07:51:06 +0200

> We know that:
> 
>  1. We are not going to install the webapp on a Microsoft server.
> 
>  2. Apache on Windows OS support the '/' Unix directory separator, so
>     developers who use the Windows O.S. do not have any problem.
> 
> 
> Therefore, we can use just Unix file paths, without the DS constant.
> So we will able to write a more readable source code.
> 
>     require_once('..'.DS.'..'.DS.'include'.DS.'dep.inc.php');
> 
>     require_once('../../include/dep.inc.php');

Okay I will change it.

I started to use DS to make it more portable, however to make it fully
portable we had also change '..' since VMS, AmigaOS or MacOS uses other
characters. Anyway.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]