From 603bcbfdb00a6836598d25cbfa2873c67535826f Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 16 Sep 2010 06:44:02 -0400
Subject: [PATCH] Fixed: FS#1272 - No phpMyAdmin icon is listed in the database list.
---
interface/lib/classes/ini_parser.inc.php | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/interface/lib/classes/ini_parser.inc.php b/interface/lib/classes/ini_parser.inc.php
index 67e6542..6821667 100644
--- a/interface/lib/classes/ini_parser.inc.php
+++ b/interface/lib/classes/ini_parser.inc.php
@@ -1,15 +1,7 @@
<?php
-/**
- * ini parser
- *
- * @author Till Brehm
- * @copyright 2005, Till Brehm, projektfarm Gmbh
- * @version 0.1
- * @package ISPConfig
- */
/*
-Copyright (c) 2006, Till Brehm, projektfarm Gmbh
+Copyright (c) 2007, Till Brehm, projektfarm Gmbh
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
@@ -67,6 +59,8 @@
$content .= "[$section]\n";
foreach($data as $item => $value) {
if($item != ''){
+ $value = trim($value);
+ $item = trim($item);
$content .= "$item=$value\n";
}
}
--
Gitblit v1.9.1