From c04b23adfd3945fe2f177cc4b86f4cbcc325bd96 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 04 Apr 2012 10:59:16 -0400
Subject: [PATCH] - replace claim in Roundcube logo - require support_url config option in installer

---
 installer/rcube_install.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 8591f1e..365d297 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -50,7 +50,7 @@
   // these config options are required for a working system
   var $required_config = array(
     'db_dsnw', 'db_table_contactgroups', 'db_table_contactgroupmembers',
-    'des_key', 'session_lifetime',
+    'des_key', 'session_lifetime', 'support_url',
   );
 
   /**
@@ -254,7 +254,7 @@
     
     // iterate over default config
     foreach ($defaults as $prop => $value) {
-      if (!isset($seen[$prop]) && !isset($this->config[$prop]) && isset($required[$prop]))
+      if (!isset($seen[$prop]) && isset($required[$prop]) && !(is_bool($this->config[$prop]) || strlen($this->config[$prop])))
         $out['missing'][] = array('prop' => $prop);
     }
 

--
Gitblit v1.9.1