So, the config file appears to take longer to write out to the file system.

This commit is contained in:
jgen
2014-02-18 22:21:14 -05:00
parent 7d3650555f
commit 62f0be7b92
3 changed files with 11 additions and 0 deletions

View File

@ -404,6 +404,9 @@ function build_dirs() { // {{{
if(!is_writable("thumbs")) @chmod("thumbs", 0755);
if(!is_writable("data") ) @chmod("data", 0755);
// Clear file status cache before checking again.
clearstatcache();
if(
!file_exists("images") || !file_exists("thumbs") || !file_exists("data") ||
!is_writable("images") || !is_writable("thumbs") || !is_writable("data")