Skip to main content
Topic: Cache function clean_cache (Read 1662 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Cache function clean_cache

It's not a bug, maybe we should change the bahaviour of that function nonetheless:
in Cache.subs.php the function clean_cache contains the following code:

Code: [Select]
// ... as long as Load.php can be modified, anyway.
@touch(SOURCEDIR . '/Load.php');


The touch is causing errors in my site protect logfile:
Code: [Select]
script: /home/strato/http/premium/rid/48/67/accountname/htdocs/fan-forum/smf/index.php
file:     fan-forum/smf/sources/Load.php
action: deny[setattr]

background information: I've enabled a site protection feature from my hoster which is monitoring file access for all files & directories except /attachments and /cache..    
Can we change that to some file outside sources? Maybe a file inside /cache or /attachments?  Load.php seems wrong for me..   O:-)
Thorsten "TE" Eurich
------------------------

Re: Cache function clean_cache

Reply #1

Already fixed in 1.1 (except I found it still present in upgrade.php) touch'ing the index.php of the cache directory.
Bugs creator.
Features destroyer.
Template killer.

Re: Cache function clean_cache

Reply #2

I forgot to add: should it be backported to 1.0 in case a new micro is released?
Bugs creator.
Features destroyer.
Template killer.

Re: Cache function clean_cache

Reply #3

I'd say back-port it ... I'm guessing a 1.07 will likely be real.