X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Fwtest.c;h=c59c79db503b385247fe58f87004967ed7d9d69c;hb=d1fc0ff84894bba24f827a81597717e9f69b6c06;hp=77dc438473e2a989ab09b874ed5ca8ef5aec0e73;hpb=1938b1fd36e774fa9b6d11a4eb5edfcdaee0267b;p=egate.git diff --git a/www/wtest.c b/www/wtest.c index 77dc438..c59c79d 100644 --- a/www/wtest.c +++ b/www/wtest.c @@ -41,7 +41,10 @@ * USE OR PERFORMANCE OF THIS SOFTWARE. * * $Log: wtest.c,v $ - * Revision 1.1 1995/10/20 11:49:28 adam + * Revision 1.2 1996/01/09 10:46:51 adam + * New defines: LOGDIR/EGWDIR/CGIDIR set in Makefile. + * + * Revision 1.1 1995/10/20 11:49:28 adam * First version of www gateway. * */ @@ -61,10 +64,10 @@ int main() int counter = 0; int i; - chdir ("/usr/local/etc/httpd/cgi-bin"); + chdir (CGIDIR); gw_log_init ("egw"); gw_log_level (GW_LOG_ALL); - gw_log_file (GW_LOG_ALL, "/usr/local/etc/httpd/logs/wtest_log"); + gw_log_file (GW_LOG_ALL, LOGDIR "/wtest_log"); gw_log (GW_LOG_STAT, mod, "Europagate www test"); if (!(wcl = wproto_init ()))