mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 12:26:59 +01:00
Refresh the file cache in WebRoot on NOTIFICATION_READY.
This commit is contained in:
parent
517a5b9044
commit
b92d4f19ca
@ -192,6 +192,10 @@ void WebRoot::_notification(int p_what) {
|
|||||||
|
|
||||||
r->update();
|
r->update();
|
||||||
}
|
}
|
||||||
|
} else if (p_what == NOTIFICATION_READY) {
|
||||||
|
if (!_www_root_path.empty()) {
|
||||||
|
_www_root_file_cache->wwwroot_refresh_cache();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user