Пример #1
0
	function _AllLibInstalled() {
			if  ( ShopVKTEST::_iscurlinstalled() && ShopVKTEST::_isiconvinstalled() ) {
					return true;
			}
			else{
					return false;
			}
	}
Пример #2
0
<?
IncludeModuleLangFile(__FILE__);
IncludeModuleLangFile($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/main/options.php");

if(!$USER->IsAdmin()) return;

	require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/kreattika.shopvk/classes/general/autotest.php");

	$module_id = "kreattika.shopvk";
	$strWarning = "";

	$vk_app_id = COption::GetOptionString($module_id, "shop_vk_app_id", "N");

	$all_lib_installed = false;
	$not_installed_lib_name = '';
	if ($curl_lib_installed = ShopVKTEST::_iscurlinstalled()):
	else:
		$not_installed_lib_name .= ' curl';
	endif;
	if ($iconv_lib_installed = ShopVKTEST::_isiconvinstalled()):
	else:
		$not_installed_lib_name .= ' iconv';
	endif;
	if( $curl_lib_installed && $iconv_lib_installed ):
		$all_lib_installed = true;
	else:
		$all_lib_installed = false;
	endif;

	$IBList = array();
	if(CModule::IncludeModule("iblock")):