PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` (\s*?)Group-Office(\s*?)should(\s*?)run(\s*?)on(\s*?)this(\s*?)machine/is', $get2)){ $post = array(); $get3 = curl_call($__settings['softurl'].'/install/license.php', 0, 5, $post); }else{ $error[] = 'Your server doesn\'t meet minimum requirement'; } if(preg_match('/Install(\s*?)license/is', $get3)){ $post = array(); $post['license'] = ''; $post['licenseDenied'] = '1'; $get4 = curl_call($__settings['softurl'].'/install/license.php', 0, 5, $post); } //Backup before upgrade if(preg_match('/database(\s*?)is(\s*?)going(\s*?)to(\s*?)be(\s*?)upgraded/is', $get4)){ $post = array(); //There is a module called business/business which is premium module and incompatible and script asks to ignore it and then continue the upgrade. so we have used ?ignore=modules querystring $result1 = curl_call($__settings['softurl'].'/install/upgrade.php?ignore=modules&confirmed=1', 0, 5, $post); } if(!empty($_GET['debug'])){ echo $get; echo $get2; echo $get3; echo $get4; echo $result1; } // If it was sucessful dont give the Setuplocation if(preg_match('/Done/is', $result1)){ $setupcontinue = ''; }elseif(!empty($auto_upgrading)){ $error[] = '{{err_auto_upgrade}}'; } } //Check whether the Minimum Software configuration matches function __requirements(){ global $__settings, $error, $software, $globals; //If there are some shorfalls then pass it to $error and return false if($globals['os'] == 'windows'){ $error[] = 'Group Office is not supported on windows.'; } return true; } //The Upgrade Files function __pre_unzip(){ global $__settings, $error, $software, $globals, $randstr, $notes; foreach($__settings['fileindex'] as $k => $v){ if(!empty($v) && $v != 'tmp' && $v != 'config.php'){ srm($__settings['softpath'].'/'.$v, 1); } } } ?>