summaryrefslogtreecommitdiff
path: root/net-analyzer/nagvis/files/nagvis-1.6.6-base-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/nagvis/files/nagvis-1.6.6-base-path.patch')
-rw-r--r--net-analyzer/nagvis/files/nagvis-1.6.6-base-path.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/net-analyzer/nagvis/files/nagvis-1.6.6-base-path.patch b/net-analyzer/nagvis/files/nagvis-1.6.6-base-path.patch
deleted file mode 100644
index 771076c4eaa7..000000000000
--- a/net-analyzer/nagvis/files/nagvis-1.6.6-base-path.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/share/server/core/classes/GlobalMainCfg.php 2012-05-31 11:14:23.000000000 -0400
-+++ b/share/server/core/classes/GlobalMainCfg.php 2012-05-31 11:17:10.000000000 -0400
-@@ -1215,8 +1215,8 @@
- * @author Roman Kyrylych <rkyrylych@op5.com>
- */
- private function getBasePath() {
-- // Go 3 levels up from nagvis/share/nagvis to nagvis base path
-- return realpath(dirname($_SERVER['SCRIPT_FILENAME']) . '/../../..') . '/';
-+ // Go 2 levels up from share/nagvis to nagvis base path
-+ return realpath(dirname($_SERVER['SCRIPT_FILENAME']) . '/../..') . '/';
- // Note: the method below causes problems when <docroot>/nagvis is a symlink to <nagvis-base>/share
- // return realpath(dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME'])))).'/';
- }