|
|
| Author |
Message |
|
| Guest |
Posted: Tue Jan 23, 2007 11:05 pm |
|
|
|
Guest
|
Minor patch, but tmpdir option in the config file will not work otherwise.
Modified: Erlang/yaws/current/src/yaws_config.erl
===================================================================
--- Erlang/yaws/current/src/yaws_config.erl 2007-01-23 21:08:28 UTC (rev
571)
+++ Erlang/yaws/current/src/yaws_config.erl 2007-01-23 22:57:08 UTC (rev
572)
@@ -66,7 +66,7 @@
?Debug("FLOAD: ~p", [R]),
case R of
{ok, GC5, Cs} ->
- yaws:mkdir(GC#gconf.tmpdir),
+ yaws:mkdir(GC5#gconf.tmpdir),
Cs2 = add_yaws_auth(Cs),
add_yaws_soap_srv(GC5),
validate_cs(GC5, Cs2);
@@ -428,11 +428,11 @@
{error, ?F("Expect directory at line ~w", [Lno])}
end;
- ["tmpdir", '=', Dir] ->
- Dir = filename:absname(Dir),
+ ["tmpdir", '=', Tmpdir] ->
+ Dir = filename:absname(Tmpdir),
case is_dir(Dir) of
true ->
- fload(FD, globals, GC#gconf{tmpdir=[Dir|GC#gconf.include_dir]},
+ fload(FD, globals, GC#gconf{tmpdir=[Dir]},
C, Cs, Lno+1, Next);
false ->
{error, ?F("Expect directory at line ~w", [Lno])}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Jan 24, 2007 7:50 am |
|
|
|
Guest
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|