summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Haste <tomhaste@gmail.com>2008-09-22 15:07:23 +0000
committerTom Haste <tomhaste@gmail.com>2008-09-22 15:07:23 +0000
commita640a66e445971f9db24a9d27e16b434151fd97a (patch)
treef72f47a873251d0b9797b523501618f04a6793dd
parent6c912f3b4d74faa804614863c212b232da8cba65 (diff)
Fix for exchange. Not sure if the server needs a restart or not. Will test.
SVN revision: 36173
-rw-r--r--exchange/lib/model/doctrine/Application.class.php8
-rw-r--r--exchange/lib/model/doctrine/Madule.class.php8
2 files changed, 8 insertions, 8 deletions
diff --git a/exchange/lib/model/doctrine/Application.class.php b/exchange/lib/model/doctrine/Application.class.php
index a08113b..97178ba 100644
--- a/exchange/lib/model/doctrine/Application.class.php
+++ b/exchange/lib/model/doctrine/Application.class.php
@@ -47,11 +47,11 @@ class Application extends BaseApplication
47 public function getSourceDisplayUrl() 47 public function getSourceDisplayUrl()
48 { 48 {
49 $url = $this->getSourceUrl(); 49 $url = $this->getSourceUrl();
50 if (stripos($url, 'e16')===0 50 if (stripos($url, 'E16')===0
51 || stripos($url, 'e17')===0 51 || stripos($url, 'e')===0
52 || stripos($url, 'e_modules')===0 52 || stripos($url, 'E-MODULES-EXTRA')===0
53 || stripos($url, 'eterm')===0 53 || stripos($url, 'eterm')===0
54 || stripos($url, 'misc')===0) 54 || stripos($url, 'MISC')===0)
55 return '/home/cvs/path/'.urlencode(str_replace('/', '|', $url)); 55 return '/home/cvs/path/'.urlencode(str_replace('/', '|', $url));
56 return $url; 56 return $url;
57 } 57 }
diff --git a/exchange/lib/model/doctrine/Madule.class.php b/exchange/lib/model/doctrine/Madule.class.php
index 29ea8b1..8f805ca 100644
--- a/exchange/lib/model/doctrine/Madule.class.php
+++ b/exchange/lib/model/doctrine/Madule.class.php
@@ -47,11 +47,11 @@ class Madule extends BaseMadule
47 public function getSourceDisplayUrl() 47 public function getSourceDisplayUrl()
48 { 48 {
49 $url = $this->getSourceUrl(); 49 $url = $this->getSourceUrl();
50 if (stripos($url, 'e16')===0 50 if (stripos($url, 'E16')===0
51 || stripos($url, 'e17')===0 51 || stripos($url, 'e')===0
52 || stripos($url, 'e_modules')===0 52 || stripos($url, 'E-MODULES-EXTRA')===0
53 || stripos($url, 'eterm')===0 53 || stripos($url, 'eterm')===0
54 || stripos($url, 'misc')===0) 54 || stripos($url, 'MISC')===0)
55 return '/home/cvs/path/'.urlencode(str_replace('/', '|', $url)); 55 return '/home/cvs/path/'.urlencode(str_replace('/', '|', $url));
56 return $url; 56 return $url;
57 } 57 }