index b64ebe1e4f0cbc146951b8dae0d73c52f30f4e8d..9d6517c3d3cf4d882bfc58987afd4303c96af44e 100644 (file)
}
// Check if we are able to read/write the given database file.
}
// Check if we are able to read/write the given database file.
- if(!is_writeable(stats::$tableFile)){
+ if(!is_writeable(stats::$tableFile) && !is_writeable(dirname(stats::$tableFile))){
return(NULL);
}
return(NULL);
}