When changing the cache dir in boost the boost_cache_directory() function is called from boost_admin_boost_performance_page_validate() to obtain the cache dir. Since this value has hot been influenced by the form submit the next test to verify if the cache directory exists fails in cases where the previously set cache directory does not exist.
An experimental patch is attached does a mini implementation of boost_cache_directory() on the spot.
It might become ugly code when $host, $subdir are also included here... maybe boost_cache_directory() could accept $boost_root_cache_dir and $boost_normal_dir as an optional overwrite parameter?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | boost-668188.patch | 2.92 KB | mikeytown2 |
| boost-validator_old_data.patch | 784 bytes | helmo |
Comments
Comment #1
mikeytown2 commentedRather then recreating that logic outside of the function; just adjust the function.
Comment #2
mikeytown2 commentedcommitted