Code

Updated config registry
[gosa.git] / gosa-core / include / class_stats.inc
index b64ebe1e4f0cbc146951b8dae0d73c52f30f4e8d..9d6517c3d3cf4d882bfc58987afd4303c96af44e 100644 (file)
@@ -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);
         }