[MKDoc-commit] Improved heuristic for detecting if user is logged-on

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Wed Dec 1 16:29:37 GMT 2004


Log Message:
-----------
Improved heuristic for detecting if user is logged-on

Modified Files:
--------------
    mkd/conf:
        cache_policy.conf

-------------- next part --------------
Index: cache_policy.conf
===================================================================
RCS file: /var/spool/cvs/mkd/conf/cache_policy.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lconf/cache_policy.conf -Lconf/cache_policy.conf -u -r1.1 -r1.2
--- conf/cache_policy.conf
+++ conf/cache_policy.conf
@@ -23,7 +23,7 @@
 CONDITION is_preferences $ENV{PATH_INFO} =~ /\/\.account\.preferences$/
 CONDITION is_remove      $ENV{PATH_INFO} =~ /\/\.account\.remove$/
 
-CONDITION is_user        $ENV{MKD__PLUGIN_LIST} !~ /\/www\.conf$/
+CONDITION is_user        defined $ENV{REMOTE_USER}
 
 # some different times
 


More information about the MKDoc-commit mailing list