You are here: A dumb question - Regarding a php cms « PHP « IT news, forums, messages
A dumb question - Regarding a php cms

Posted by "Troy Pieterman" on 09/18/05 02:13

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация