Author: Lars Michelsen <[email protected]>
Date: Wed Oct 26 21:51:01 2011 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Wed Oct 26 21:51:01 2011 +0200
Bugfix: Fixed inclusion problem of default settings in some rare cases
---
ChangeLog | 4 ++++
share/server/core/classes/GlobalMapCfg.php | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7e3c257..51844a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1.6
+Core
+ * Bugfix: Fixed inclusion problem of default settings in some rare cases
+
1.6rc3
Core
* Bugfix: Fixed problem in summary state detection of downtime (resulted
diff --git a/share/server/core/classes/GlobalMapCfg.php
b/share/server/core/classes/GlobalMapCfg.php
index a8b1270..02f2d49 100644
--- a/share/server/core/classes/GlobalMapCfg.php
+++ b/share/server/core/classes/GlobalMapCfg.php
@@ -80,7 +80,7 @@ class GlobalMapCfg {
$path = cfg('paths', 'server') . '/mapcfg';
$files = $this->CORE->listDirectory($path, MATCH_PHP_FILE);
foreach($files AS $f) {
- include_once($path . '/' . $f);
+ include_once(realpath($path . '/' . $f));
}
// Now register the variables for the objec types
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins