[LON-CAPA-cvs] cvs: doc /loncapafiles loncapafiles.lpml loncom/interface createaccount.pm
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 08 Jul 2008 13:57:31 -0000
raeburn Tue Jul 8 09:57:31 2008 EDT
Modified files:
/loncom/interface createaccount.pm
/doc/loncapafiles loncapafiles.lpml
Log:
- Directory for storage of temporary Captcha images.
Index: loncom/interface/createaccount.pm
diff -u loncom/interface/createaccount.pm:1.10 loncom/interface/createaccount.pm:1.11
--- loncom/interface/createaccount.pm:1.10 Mon Jul 7 23:00:43 2008
+++ loncom/interface/createaccount.pm Tue Jul 8 09:57:00 2008
@@ -3,7 +3,7 @@
# institutional log-in ID (institutional authentication required - localauth
# or kerberos) or an e-mail address.
#
-# $Id: createaccount.pm,v 1.10 2008/07/08 03:00:43 raeburn Exp $
+# $Id: createaccount.pm,v 1.11 2008/07/08 13:57:00 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -914,7 +914,7 @@
sub captcha_settings {
my %captcha_params = (
- output_dir => "/home/httpd/html/captcha",
+ output_dir => $Apache::lonnet::perlvar{'lonDocRoot'}.'/captcha',
www_output_dir => "/captcha",
db_dir => "/home/www/captchadb",
numchars => '5',
Index: doc/loncapafiles/loncapafiles.lpml
diff -u doc/loncapafiles/loncapafiles.lpml:1.593 doc/loncapafiles/loncapafiles.lpml:1.594
--- doc/loncapafiles/loncapafiles.lpml:1.593 Mon Jul 7 21:09:16 2008
+++ doc/loncapafiles/loncapafiles.lpml Tue Jul 8 09:57:28 2008
@@ -2,7 +2,7 @@
"http://lpml.sourceforge.net/DTD/lpml.dtd">
<!-- loncapafiles.lpml -->
-<!-- $Id: loncapafiles.lpml,v 1.593 2008/07/08 01:09:16 raeburn Exp $ -->
+<!-- $Id: loncapafiles.lpml,v 1.594 2008/07/08 13:57:28 raeburn Exp $ -->
<!--
@@ -640,6 +640,13 @@
<description>error warnings and icons</description>
</directory>
<directory dist='default'>
+ <protectionlevel>modest_delete</protectionlevel>
+ <targetdir dist='default'>home/httpd/html/captcha</targetdir>
+ <categoryname>server readonly</categoryname>
+ <description>unauthenticated resources</description>
+</directory>
+
+<directory dist='default'>
<protectionlevel>never_delete</protectionlevel>
<targetdir dist='default'>home/httpd/lonUsers</targetdir>
<categoryname>server standard</categoryname>