From 2fa85a72f51e80d150052871095eb43eebc7f765 Mon Sep 17 00:00:00 2001
From: alangrafu <alvaro@graves.cl>
Date: Sat, 17 Dec 2011 01:18:55 -0800
Subject: [PATCH] Added export variable when creating settings.inc.php

---
 classes/Importer.php | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/classes/Importer.php b/classes/Importer.php
index a06175f7..e774e55f 100644
--- a/classes/Importer.php
+++ b/classes/Importer.php
@@ -78,7 +78,12 @@ class Importer{
 	foreach($appParams  as $k => $v){
 	  $content .= "\$conf['$k'] = \"$v\";\n";
 	}
-	
+	$content .= "/*ATTENTION: By default this application is available to
+ * be exported and copied (its configuration)
+ * by others. If you do not want that, 
+ * turn the next option as false
+ */ 
+\$conf['export'] = true;\n\n";
 	//Components
   	foreach($compArr as $v){
   	  $component = $v['s'];
-- 
GitLab