mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Now it won't matter whether the given path has a slash at the end of not for FileCache.
This commit is contained in:
parent
6d6735717b
commit
5b9004db22
@ -21,6 +21,8 @@ void FileCache::wwwroot_refresh_cache() {
|
|||||||
|
|
||||||
registered_files.clear();
|
registered_files.clear();
|
||||||
|
|
||||||
|
wwwroot.path_clean_end_slash();
|
||||||
|
|
||||||
wwwroot_evaluate_dir(wwwroot.c_str());
|
wwwroot_evaluate_dir(wwwroot.c_str());
|
||||||
|
|
||||||
_lock.write_unlock();
|
_lock.write_unlock();
|
||||||
|
Loading…
Reference in New Issue
Block a user