From 42f54829918b96d51a79cf1be539f36c0ca7a25a Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Tue, 11 Apr 2017 14:46:32 +0200
Subject: [PATCH] remove testcode for a deployment: add save infos in template

---
 hooks/templates/inc_projects_config.php.erb | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/hooks/templates/inc_projects_config.php.erb b/hooks/templates/inc_projects_config.php.erb
index 3f04051c..507a2135 100644
--- a/hooks/templates/inc_projects_config.php.erb
+++ b/hooks/templates/inc_projects_config.php.erb
@@ -73,7 +73,16 @@ $aConfig = array(
             'DnAppNode'    => '<%= @replace["ldap-dn-apps"] %>',
             'debugLevel'   => 0,
         )
-    )
+    ),
+    // where to store project data
+    'projects' => array(
+        'json' => array(
+            'active'       => true,
+        ),
+        'ldap' => array(
+            'active'       => false,
+        ),
+    ),
 );
 
 // ----------------------------------------------------------------------
-- 
GitLab