[Libreoffice-commits] website.git: Branch 'update' - check.php

Jan Holesovsky kendy at collabora.com
Thu Jan 16 08:13:11 PST 2014


 check.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 560c8f44c71d0d3c93cef0df526afbe221eb8701
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Thu Jan 16 17:12:54 2014 +0100

    Allow LibreOfficeDev too.

diff --git a/check.php b/check.php
index 5e61468..b01d247 100644
--- a/check.php
+++ b/check.php
@@ -420,7 +420,7 @@ function print_update_xml($buildid, $os, $arch, $lang, $pkgfmt) {
 
 $info = get_update_info();
 
-if (!array_key_exists('product', $info) || ($info['product'] != 'LibreOffice' && $info['product'] != 'LOdev'))
+if (!array_key_exists('product', $info) || ($info['product'] != 'LibreOffice' && $info['product'] != 'LibreOfficeDev' && $info['product'] != 'LOdev'))
     error('<b>Error:</b> Only LibreOffice can access the update service.');
 
 print_update_xml($info['buildid'], $info['os'], $info['arch'], $info['lang'], $info['pkgfmt']);


More information about the Libreoffice-commits mailing list