Hi guys,
I have two questions in this one issue:
A. The button label is created by calling boost_count_all_files() with BOOST_ROOT_CACHE_DIR which returns 'cache', no '/'.
B. The button computes the total number of all the files which on a multi-site system is rather large (I'm at nearly 14,000 and when I check a website with 1 to 3 files cached, it looks strange!)
For A, if you know that BOOST_ROOT_CACHE_DIR never includes a '/', then we can add it with . '/', otherwise, do something like this:
$path = BOOST_ROOT_CACHE_DIR;
if (substr($path, -1) != '/') {
$path .= '/';
}
// then use $path in the call to boost_count_all_files()
For B, I guess it can be very complicated if you want to support modules such as domains. Maybe using the word "Total" somewhere would help people like me realize that the number represents the entire tree.
Thank you.
Alexis
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commented