Re: A dumb question - Regarding a php cms
| From: | Jose Miguel | Date: | Sun, 18 Sep 2005 04:27:31 +0000 |
| Subject: | Re: A dumb question - Regarding a php cms | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222587@lists.php.net to get a copy of this message | ||
Regarding paths, in a Windows enviroment, you should use double slash, like:
c:\\www\\syntax desktop\\
Cheers.
On 18 Sep 2005 09:13:56 +1000, Troy Pieterman <troy@woodleigh.vic.edu.au>
wrote:
>
> Im trying to run Syntax desktop which is a php cms (on my own server
> win2003).
>
> In the installation readme it tells me to edit a cfg.php file, i have done
> this but the cms still does not load, i have a feeling its becuase it
> dosnt
> know where to load its files from, here is the code that tells it, its
> path
> and relative path.
>
>
> ////////////////////////////////////////////////////////////////////////////
> ///
> // AUTO CALCULATED VARIABLE
>
> ////////////////////////////////////////////////////////////////////////////
> //
>
> //phisical path. I.e. /var/www/html/site1/
> $synRealBasePath=substr(dirname(__FILE__),0,strlen(dirname(__FILE__))-6);
>
> //relative path. I.e. /site1/
> $synBasePath="/".basename($synRealBasePath)."/";
>
> ////////////////////////////////////////////////////////////////////////////
> //
>
> How do i write in there its "phisical path and relative path" are
> c:\www\syntax desktop\
>
> thanks for your help
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Jose Arce
http://sinexion.com - http://josearce.com