Author:   Lars Michelsen <[email protected]>
Date:     Mon Jan  2 21:23:11 2012 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Mon Jan  2 21:23:11 2012 +0100

Bugfix: Made upper/lower case rotation_id/backend_id definitions possible

---

 ChangeLog                                   |    3 +++
 share/server/core/classes/GlobalMainCfg.php |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c294e6b..f3749f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
 1.6.3
+Core
+  * Bugfix: Made upper/lower case rotation_id/backend_id definitions possible
+
 Frontend
   * Showing dummy shape image when configured shape does not exist
   * Added the color picker to background image creation form
diff --git a/share/server/core/classes/GlobalMainCfg.php 
b/share/server/core/classes/GlobalMainCfg.php
index b495c01..fc577a9 100644
--- a/share/server/core/classes/GlobalMainCfg.php
+++ b/share/server/core/classes/GlobalMainCfg.php
@@ -1254,7 +1254,7 @@ class GlobalMainCfg {
                     }
                 } elseif ((substr($line, 0, 1) == '[') && (substr($line, -1, 
1)) == ']') {
                     // section
-                    $sec = strtolower(trim(substr($line, 1, strlen($line)-2)));
+                    $sec = trim(substr($line, 1, strlen($line)-2));
 
                     // write to array
                     if(!isset($this->config[$sec])) {
@@ -1272,7 +1272,7 @@ class GlobalMainCfg {
                     // parameter...
 
                     // separate string in an array
-                    $arr = explode('=',$line);
+                    $arr = explode('=', $line);
                     // read key from array and delete it
                     $key = strtolower(trim($arr[0]));
                     unset($arr[0]);


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to