Re: A dumb question - Regarding a php cms

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

 



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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux