Skip to content

A free open source IT asset/license management system

Use relative path in backups for cleaner directory structure

snipe52a77f4c3158
diff --git a/config/backup.php b/config/backup.php
index 479b1db6aa..b95129b7a6 100644
--- a/config/backup.php
+++ b/config/backup.php
@@ -35,6 +35,13 @@ return [
'files' => [
+ /*
+ * This path is used to make directories in resulting zip-file relative
+ * Set to false to include complete absolute path
+ * Example: base_path()
+ */
+ 'relative_path' => base_path(),
+
/*
* The list of directories and files that will be included in the backup.
*/