From: Stephen L. Jr. <sla...@uc...> - 2002-07-15 17:08:00
|
While you are at it, it would be nice to have a PHPESP_URL_PATH variable as well, for people like me who are running this on virtual servers where the URL path is not just "/", but something like "/phpESP" or "/customer/phpESP" or whatnot. ex. instead of 'image_path' => 'http://'. $HTTP_SERVER_VARS['HTTP_HOST']. '/phpESP/images/', make it define( 'PHPESP_BASE', dirname(/phpESP) ); ... ... 'image_path' => 'http://'. $HTTP_SERVER_VARS['HTTP_HOST']. PHPESP_URL_PATH. '/images/', etc. etc. That way, you change two variables (PHPESP_BASE_PATH and PHPESP_URL_PATH) for all configuration. randall ehren wrote: >hi, > i have contacted the developers because we wanted to start our own branch on >development. if you look through the archives and search for 'config' you will >find that the author(s) aren't too big into changing the way the config is >setup. > > our development branch is changing that in a big way, along with many other >changes in the configuration of phpESP... > > http://open.survey.ucsb.edu/horde/chora/cvs.php/php_survey > > lemme know if your interested. > > -randall > > > > > - randall s. ehren :// 805.893.5632 > systems administrator :// isber|survey|avss.ucsb.edu > institute for social, behavioral, and economic research > > -- Stephen Lawrence Jr. - Programmer sla...@uc... California Animal Health & Food Safety Laboratory System, UC Davis (530)-752-4614 |