gnucash-htdocs master: Cosmetics for last commit

Frank H.Ellenberger fell at code.gnucash.org
Thu Apr 12 12:18:25 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/01598537 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/9e1ead41 (commit)



commit 01598537889ead3e39903e43f9a023beb1e8579a
Author: fell <frank.h.ellenberger at gmail.com>
Date:   Thu Apr 12 18:18:21 2018 +0200

    Cosmetics for last commit

diff --git a/viewdoc.phtml b/viewdoc.phtml
index 26d150b..a200bcd 100644
--- a/viewdoc.phtml
+++ b/viewdoc.phtml
@@ -107,7 +107,9 @@ if ($showrev == "maint") {
   # on the same server
   $checkpath="docs/v".$showrev."/".$showlang."/".$showdoc;
   if (!file_exists ($checkpath)) {
+  	# Try Lang only codes
   	$showlang = substr($showlang,1,2);
+  	if ($showlang="en") $showlang="C";
     $checkpath="docs/v".$showrev."/".$showlang."/".$showdoc;
     if (!file_exists ($checkpath)) {
       $showlang    = "C";



Summary of changes:
 viewdoc.phtml | 2 ++
 1 file changed, 2 insertions(+)



More information about the gnucash-changes mailing list