version 1.154, 1998/10/12 08:36:19
|
version 1.155, 1998/10/13 09:50:22
|
Line 1565 static void Cacheinit ()
|
Line 1565 static void Cacheinit ()
|
else |
else |
cache_enabled = YES; |
cache_enabled = YES; |
|
|
#if 0 /* temp inhibed to compile under INSURE */ |
|
/* cache protected documents? */ |
/* cache protected documents? */ |
strptr = (char *) TtaGetEnvString ("CACHE_PROTECTED_DOCS"); |
strptr = (char *) TtaGetEnvString ("CACHE_PROTECTED_DOCS"); |
if (strptr && *strptr && !strcasecmp (strptr, "yes" )) |
if (strptr && *strptr && !strcasecmp (strptr, "yes" )) |
HTCacheMode_setProtected (YES); |
HTCacheMode_setProtected (YES); |
else |
else |
HTCacheMode_setProtected (NO); |
HTCacheMode_setProtected (NO); |
#endif |
|
|
|
/* get the cache dir (or use a default one) */ |
/* get the cache dir (or use a default one) */ |
strptr = (char *) TtaGetEnvString ("CACHE_DIR"); |
strptr = (char *) TtaGetEnvString ("CACHE_DIR"); |