[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r22942: {website} link to english files because en is apparently not a $lang. (website/branches/web20/include)
Author: phobos
Date: 2010-08-17 22:57:49 +0000 (Tue, 17 Aug 2010)
New Revision: 22942
Modified:
website/branches/web20/include/links.wmi
Log:
link to english files because en is apparently not a $lang. ;)
Modified: website/branches/web20/include/links.wmi
===================================================================
--- website/branches/web20/include/links.wmi 2010-08-17 21:30:51 UTC (rev 22941)
+++ website/branches/web20/include/links.wmi 2010-08-17 22:57:49 UTC (rev 22942)
@@ -26,7 +26,7 @@
if (-e "$(DOCROOT)/$lang/$dir/$base.wml") {
return stripDotSlashs("$(DOCROOT)/$dir/$base.html.$lang");
} elsif (-e "$(DOCROOT)/$dir/en/$base.wml") {
- return stripDotSlashs("$(DOCROOT)/$dir/$base.html");
+ return stripDotSlashs("$(DOCROOT)/$dir/$base.html.en");
} elsif ($page =~ /^http/) {
return $page;
} else {