Jeremy Newman : fix XML source link

Jeremy Newman jnewman at winehq.org
Thu May 29 16:45:30 CDT 2008


Module: website
Branch: master
Commit: de92f6c59bc193ae919614c564c1425c793b3e93
URL:    http://source.winehq.org/git/website.git/?a=commit;h=de92f6c59bc193ae919614c564c1425c793b3e93

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Thu May 29 16:45:12 2008 -0500

fix XML source link

---

 include/wwn.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/wwn.php b/include/wwn.php
index 7928b43..7901048 100644
--- a/include/wwn.php
+++ b/include/wwn.php
@@ -235,7 +235,7 @@ class wwn
                           'issue'   => $cur,
                           'date'    => $this->issue,
                           'summary' => $summary_box,
-                          'xml'     => $wwn{$cur},
+                          'xml'     => (file_exists($config->wwn_xml_path."/".$html->lang."/".$wwn{$cur}) ? $html->lang."/".$wwn{$cur} : $config->lang."/".$wwn{$cur}),
                           'author'  => $this->author,
                           'contact' => $this->contact,
                           'body'    => $this->body,




More information about the wine-cvs mailing list