forked from Cavemanon/cavepaintings
So, the config file appears to take longer to write out to the file system.
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user