aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/sarg/sarg.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc
index 22e70c95..253dab9d 100644
--- a/config/sarg/sarg.inc
+++ b/config/sarg/sarg.inc
@@ -94,7 +94,9 @@ function sarg_check_dirs() {
if (is_dir($pbidir) && !is_link($pbidir)) {
rmdir_recursive($pbidir);
}
- symlink("/usr/local/sarg-reports", "{$pbidir}");
+ if (!is_link($pbidir)) {
+ symlink("/usr/local/sarg-reports", "{$pbidir}");
+ }
}
// images