X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_stats.inc;h=9d6517c3d3cf4d882bfc58987afd4303c96af44e;hb=fc94ac45e735bae3378d46a988210d2d5a32070e;hp=b64ebe1e4f0cbc146951b8dae0d73c52f30f4e8d;hpb=90ae103941738c97b225a755900edfbe2155c6fd;p=gosa.git diff --git a/gosa-core/include/class_stats.inc b/gosa-core/include/class_stats.inc index b64ebe1e4..9d6517c3d 100644 --- a/gosa-core/include/class_stats.inc +++ b/gosa-core/include/class_stats.inc @@ -38,7 +38,7 @@ class stats } // 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); }