当前位置: 首页>>代码示例>>PHP>>正文


PHP sockets::getFrameWork方法代码示例

本文整理汇总了PHP中sockets::getFrameWork方法的典型用法代码示例。如果您正苦于以下问题:PHP sockets::getFrameWork方法的具体用法?PHP sockets::getFrameWork怎么用?PHP sockets::getFrameWork使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在sockets的用法示例。


在下文中一共展示了sockets::getFrameWork方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: save

function save(){
	$sock=new sockets();
	$main=new maincf_multi("master","master");
	$_GET["message_size_limit"]=($_GET["message_size_limit"]*1000)*1024;
	$_GET["virtual_mailbox_limit"]=($_GET["virtual_mailbox_limit"]*1000)*1024;
	$sock->SET_INFO("message_size_limit",$_GET["message_size_limit"]);
	$sock->SET_INFO("default_destination_recipient_limit",$_GET["default_destination_recipient_limit"]);
	$sock->SET_INFO("smtpd_recipient_limit",$_GET["smtpd_recipient_limit"]);
	$sock->SET_INFO("mime_nesting_limit",$_GET["mime_nesting_limit"]);
	$sock->SET_INFO("header_address_token_limit",$_GET["header_address_token_limit"]);
	$sock->SET_INFO("virtual_mailbox_limit",$_GET["virtual_mailbox_limit"]);
	$sock->SET_INFO("header_size_limit",$_GET["header_size_limit"]*1024);
	$sock->SET_INFO("SpamassassinMaxRCPTScore",$_GET["SpamassassinMaxRCPTScore"]);
	$main->SET_VALUE("max_rcpt_to",$_GET["max_rcpt_to"]);
	

		$users=new usersMenus();
		$users->LoadModulesEnabled();
		
		$EnableAmavisDaemon=$users->EnableAmavisDaemon;
		if(!$user->AMAVIS_INSTALLED){$EnableAmavisDaemon=0;}
		if(!is_numeric($EnableAmavisDaemon)){$EnableAmavisDaemon=0;}	
		$sock->getFrameWork("cmd.php?postfix-others-values=yes");
		if($EnableAmavisDaemon==1){$sock->getFrameWork("cmd.php?spamass-build=yes");}
}
开发者ID:rsd,项目名称:artica-1.5,代码行数:25,代码来源:postfix.messages.restriction.php

示例2: EnableNginx

function EnableNginx()
{
    $sock = new sockets();
    $sock->SET_INFO("EnableNginx", $_POST["EnableNginx"]);
    $sock->getFrameWork("nginx.php?restart=yes&enable={$_POST["EnableNginx"]}");
    $sock->getFrameWork("services.php?restart-phpfpm=yes");
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:7,代码来源:squid.nginx.php

示例3: save

function save()
{
    $sock = new sockets();
    $sock->SET_INFO("php5DefaultCharset", $_POST["php5DefaultCharset"]);
    $sock->SET_INFO("php5FuncOverloadSeven", $_POST["php5FuncOverloadSeven"]);
    $sock->SET_INFO("php5DisableMagicQuotesGpc", $_POST["php5DisableMagicQuotesGpc"]);
    $sock->SET_INFO("SSLStrictSNIVHostCheck", $_POST["SSLStrictSNIVHostCheck"]);
    $sock->SET_INFO("SessionPathInMemory", $_POST["SessionPathInMemory"]);
    $sock->SET_INFO("php5UploadMaxFileSize", $_POST["php5UploadMaxFileSize"]);
    $sock->SET_INFO("php5PostMaxSize", $_POST["php5PostMaxSize"]);
    $sock->SET_INFO("php5MemoryLimit", $_POST["php5MemoryLimit"]);
    $sock->SET_INFO("CleanPHPSessionTime", $_POST["CleanPHPSessionTime"]);
    $sock->SET_INFO("EnablePHPFPM", $_POST["EnablePHPFPM"]);
    $sock->SET_INFO("EnablePHPFPMFrameWork", $_POST["EnablePHPFPMFrameWork"]);
    $sock->SET_INFO("EnableArticaApachePHPFPM", $_POST["EnableArticaApachePHPFPM"]);
    $sock->SET_INFO("EnablePHPFPMFreeWeb", $_POST["EnablePHPFPMFreeWeb"]);
    $GLOBALS["TIMEZONES"] = $_POST["timezones"];
    $_SESSION["TIMEZONES"] = $_POST["timezones"];
    $sock->SET_INFO("timezones", $_POST["timezones"]);
    $sock->SET_INFO("EnableRRDGraphFunction", $_POST["EnableRRDGraphFunction"]);
    $sock->getFrameWork("system.php?zoneinfo-set=" . base64_encode("{$_POST["timezones"]}"));
    sleep(1);
    $sock->getFrameWork("cmd.php?php-rewrite=yes");
    $sock->getFrameWork("cmd.php?restart-web-server=yes");
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:25,代码来源:phpconfig.php

示例4: page

function page()
{
    $t = time();
    $page = CurrentPageName();
    $tpl = new templates();
    $sock = new sockets();
    $SquidSimpleConfig = $sock->GET_INFO("SquidSimpleConfig");
    if (!is_numeric($SquidSimpleConfig)) {
        $SquidSimpleConfig = 1;
    }
    $meminfo = unserialize(base64_decode($sock->getFrameWork("system.php?meminfo=yes")));
    $kernel_shmmax = $sock->getFrameWork("cmd.php?sysctl-value=yes&key=" . base64_encode("kernel.shmmax"));
    $MEMTOTAL = intval($meminfo["MEMTOTAL"]);
    $squid = new squidbee();
    $cache_mem = $squid->global_conf_array["cache_mem"];
    if (preg_match("#([0-9]+)\\s+#", $cache_mem, $re)) {
        $cache_mem = $re[1];
    }
    $SquidMemoryPools = intval($sock->GET_INFO("SquidMemoryPools"));
    $memory_pools_limit_suffix = null;
    $SquidMemoryPoolsLimit = intval($sock->GET_INFO("SquidMemoryPoolsLimit"));
    $FF = 1500;
    $FF = $FF * 1024;
    $FF = $FF * 1024;
    $proposal = $meminfo["MEMTOTAL"] - $FF;
    $proposal = $proposal / 2;
    $proposal = $proposal / 1024;
    $proposal = round($proposal / 1024);
    $html = "\n\t\n\t<div class=explain style='font-size:16px'>{squid_cache_memory_explain}</div>\n\t<div style='margin:10px;padding:10px;width:98%' class=form>\n\t<table style='width:100%'>\n\t<tr>\n\t\t<td colspan=3 style='font-size:32px;margin-bottom:20px'>{central_memory}</div>\n\t\t\t<div class=explain style='font-size:18px'>{cache_mem_explain2}</div>\n\t\t</td>\t\t\n\t<tr>\n\t\t<td class=legend style='font-size:26px'>{central_memory}:</td>\n\t\t<td style='font-size:26px'>" . Field_text("cache_mem-{$t}", $cache_mem, "font-size:26px;width:150px;font-weight:bold") . "&nbsp;MB</td>\n\t\t<td style='font-size:26px' width=1% nowrap>" . help_icon('{cache_mem_text}', true) . "</td>\n\t</tr>\n\t<tr>\n\t\t<td class=legend style='font-size:26px'>{current}:</td>\n\t\t<td style='font-size:26px'><span id='squid-cache-mem-current' style='font-size:26px;font-weight:bold'></span></td>\n\t\t<td style='font-size:26px' width=1% nowrap>&nbsp;</td>\n\t</tr>\t\t\t\t\t\n\t<tr>\n\t<td colspan=3 style='font-size:20px;margin-bottom:20px;color:#8E8E8E;text-align:right'>{server_memory}: " . FormatBytes($meminfo["MEMTOTAL"] / 1024) . " ({proposal}: {$proposal}MB)</div>\n\t</table>\n\t</div>\t\t\n\t<div style='margin:10px;padding:10px;width:98%' class=form>\t\n\t<table style='width:100%'>\n\n\t<tr>\n\t\t<td style='font-size:26px' class=legend>{memory_pools}:</td>\n\t\t<td align='left' style='font-size:26px'>" . Field_checkbox_design("SquidMemoryPools-{$t}", 1, $SquidMemoryPools, "SquidMemoryPools{$t}()") . "</td>\n\t\t<td width=1%>" . help_icon('{memory_pools_explain}', true) . "</td>\n\t</tr>\n\t<tr>\n\t\t<td style='font-size:26px' class=legend>{memory_pools_limit}:</td>\n\t\t<td align='left' style='font-size:26px'>" . Field_text("SquidMemoryPoolsLimit-{$t}", $SquidMemoryPoolsLimit, "font-size:26px;width:150px") . "&nbsp;MB</td>\n\t\t<td width=1%>" . help_icon('{memory_pools_limit_explain}', true) . "</td>\n\t</tr>\t\t\t\t\t\t\t\t\t\n</tr>\t\n\t<tr><td colspan=3 style='text-align:right;pdding-top:50px'><hr>" . button("{apply}", "Save{$t}()", 36) . "</td>\n\t</tr>\n</table>\t\n<script>\nvar xSave{$t}= function (obj) {\n\tvar results=obj.responseText;\n\tif(results.length>3){alert(results);}\n\tLoadjs('squid.compile.progress.php?ask=yes');\n}\n\t\nfunction Save{$t}(){\n\tvar XHR = new XHRConnection();\n\tXHR.appendData('cache_mem',document.getElementById('cache_mem-{$t}').value);\n\t\n\tif(document.getElementById('SquidMemoryPools-{$t}').checked){XHR.appendData('SquidMemoryPools',1);}else{\n\tXHR.appendData('SquidMemoryPools',0);}\n\tXHR.appendData('SquidMemoryPoolsLimit',document.getElementById('SquidMemoryPoolsLimit-{$t}').value);\n\tXHR.sendAndLoad('{$page}', 'POST',xSave{$t});\n}\n\t\nfunction SquidMemoryPools{$t}(){\n\tvar SquidSimpleConfig={$SquidSimpleConfig};\n\tif(SquidSimpleConfig==1){\n\t\tdocument.getElementById('SquidMemoryPools-{$t}').disabled=true;\n\t\tdocument.getElementById('SquidMemoryPoolsLimit-{$t}').disabled=true;\n\t\treturn;\n\t}\n\n\tdocument.getElementById('SquidMemoryPoolsLimit-{$t}').disabled=true;\n\tif(document.getElementById('SquidMemoryPools-{$t}').checked){\n\t\tdocument.getElementById('SquidMemoryPoolsLimit-{$t}').disabled=false;\n\t}\n\t\n\tLoadAjax('squid-cache-mem-current','{$page}?squid-cache-mem-current=yes');\n\t\n}\nSquidMemoryPools{$t}();\n</script>";
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:31,代码来源:squid.memory.php

示例5: Save

function Save()
{
    $sock = new sockets();
    $disksize = $_POST["disksize"];
    $UpdateUtilityStorePath = $_POST["UpdateUtilityStorePath"];
    $HardDriveSizeMB = unserialize(base64_decode($sock->getFrameWork("system.php?HardDriveDiskSizeMB=" . base64_encode($UpdateUtilityStorePath))));
    if (!is_array($HardDriveSizeMB)) {
        echo "Fatal Error Cannot retreive information for `{$UpdateUtilityStorePath}`";
        return;
    }
    if ($disksize < 2500) {
        echo "Fatal 2500MB minimal size";
        return;
    }
    $AVAILABLEMB = $HardDriveSizeMB["AVAILABLE"];
    if ($AVAILABLEMB < $disksize) {
        $T = $disksize - $AVAILABLEMB;
        echo "Fatal Error : Available: {$AVAILABLEMB}MB, need at least {$T}MB";
        return;
    }
    $sql = "INSERT INTO loop_disks (`path`,`size`,`disk_name`,`maxfds`) VALUES ('{$UpdateUtilityStorePath}','{$disksize}','UpdateUtility','25000')";
    $q = new mysql();
    $q->QUERY_SQL($sql, "artica_backup");
    if (!$q->ok) {
        echo $q->mysql_error;
        return;
    }
    $sock = new sockets();
    $sock->SET_INFO("UpdateUtilityUseLoop", 1);
    $sock->getFrameWork("lvm.php?loopcheck=yes");
    $sock->getFrameWork("freeweb.php?reconfigure-updateutility=yes");
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:32,代码来源:UpdateUtility.container-wizard.php

示例6: active_directory_status

function active_directory_status()
{
    $tpl = new templates();
    $page = CurrentPageName();
    $sock = new sockets();
    $users = new usersMenus();
    $EnableSambaActiveDirectory = $sock->GET_INFO("EnableSambaActiveDirectory");
    if (!is_numeric($EnableSambaActiveDirectory)) {
        $EnableSambaActiveDirectory = 0;
    }
    if ($EnableSambaActiveDirectory == 0) {
        $status = Paragraphe("64-grey.png", "{NO_AD_CONNECTION}", "{NO_AD_CONNECTION_TEXT}");
    } else {
        $datas = $sock->getFrameWork("samba.php?test-ads-join=yes");
        if (preg_match("#FALSE:(.+)#", $datas, $re)) {
            $status = Paragraphe("error-64.png", "{AD_CONNECTION_ERROR}", "{error}:{$re[1]}");
        }
        if (preg_match("#TRUE#", $datas, $re)) {
            $array = unserialize(base64_decode($sock->getFrameWork("samba.php?adsinfos=yes")));
            while (list($num, $ligne) = each($array)) {
                $tr[] = "<tr><td class=legend nowrap>{$num}:</td><td><strong style='font-size:11px'>{$ligne}</strong></td></tr>";
                $ht = $ht . "{$num}:<strong>{$ligne}</strong><br>";
            }
        }
    }
    if (count($tr) > 0) {
        $status2 = "<table class=form>" . @implode("\n", $tr) . "</table>";
    }
    $html = "<center><img src='img/ad-server-logo.png' style='margin:10px'>\n\t{$status}{$infos}{$status2}</center>\n\t";
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:31,代码来源:quicklinks.fileshare.php

示例7: page

function page(){
	$sock=new sockets();
	$tpl=new templates();
	
	$IsInstalled=trim($sock->getFrameWork("system.php?phpmyadmin-installed=yes"));
	
	if($IsInstalled<>"TRUE"){
		$button=button("{reinstall_software}","Loadjs('system.mysql.phpmyadmin.install.php')",36);
		echo FATAL_WARNING_SHOW_128("<span style='font-size:26px'>{ERROR_SERVICE_NOT_INSTALLED}</span><center style='margin:20px'>$button</center>");
		
	}
	
	
	
	$version=trim($sock->getFrameWork("system.php?phpmyadpmin-version=yes"));
	
	$html="
	<div style='width:100%;text-align:center'>
	<center>
	<center style='width:70%;margin:30px' class=form>
	<div style='font-size:26px'>PHPMyAdmin v.$version</div>
	<p>&nbsp;</p>
	". button("PHPMyAdmin Front-end","document.location.href='/mysql';",40)."<p>&nbsp;</p></center></center></div>";
		
			
			
	echo $tpl->_ENGINE_parse_body($html);
	
	
	
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:31,代码来源:system.mysql.phpmyadmin.php

示例8: save

function save()
{
    $email = $_GET["postmaster"];
    $ldap = new clladp();
    $users = new usersMenus();
    $mustcheck = false;
    if ($users->cyrus_imapd_installed) {
        $mustcheck = true;
    }
    if ($users->ZARAFA_INSTALLED) {
        $mustcheck = true;
    }
    if ($mustcheck) {
        $ldap = new clladp();
        $uid = $ldap->uid_from_email($email);
        if ($uid == null) {
            $tpl = new templates();
            echo $tpl->javascript_parse_text("\n{$email}\n{mailbox_does_not_exists}");
            return;
        }
    }
    $sock = new sockets();
    $sock->SET_INFO("PostfixPostmaster", $email);
    $sock->getFrameWork("cmd.php?postfix-hash-aliases=yes");
    $sock->getFrameWork("cmd.php?postmaster-cron=yes");
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:26,代码来源:postfix.postmaster.php

示例9: SambaEnabled

function SambaEnabled()
{
    $sock = new sockets();
    $sock->SET_INFO("SambaEnabled", $_GET["SambaEnabled"]);
    $sock->getFrameWork("cmd.php?restart-samba=yes");
    $sock->getFrameWork('cmd.php?refresh-status=yes');
}
开发者ID:,项目名称:,代码行数:7,代码来源:

示例10: page

function page()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $sock = new sockets();
    $ini = new Bs_IniHandler();
    $ini->loadString(@file_get_contents(dirname(__FILE__) . '/ressources/index.ini'));
    $users = new usersMenus();
    $ArchStruct = $users->ArchStruct;
    if ($ArchStruct == "32") {
        $ArchStruct = "i386";
    }
    if ($ArchStruct == "64") {
        $ArchStruct = "x64";
    }
    $GlobalApplicationsStatus = $sock->APC_GET("GlobalApplicationsStatus", 2);
    if ($GlobalApplicationsStatus == null) {
        $GlobalApplicationsStatus = base64_decode($sock->getFrameWork('cmd.php?Global-Applications-Status=yes'));
        $sock->APC_SAVE("GlobalApplicationsStatus", $GlobalApplicationsStatus);
        $GLOBALS["GlobalApplicationsStatus"] = $GlobalApplicationsStatus;
    }
    $squid_version = ParseAppli($GlobalApplicationsStatus, "APP_SQUID");
    $availableversion = $ini->_params["NEXT"]["squid32-{$ArchStruct}"];
    $actualversion = $sock->getFrameWork("squid.php?full-version=yes");
    if ($actualversion == null) {
        $actualversion = "0.0.0";
    }
    $availableversion_dansguardian = $ini->_params["NEXT"]["dansguardian2-{$ArchStruct}"];
    $actualversion_dansguardian = $sock->getFrameWork("squid.php?full-dans-version=yes");
    $html = "\n<H2>In dev progress, don't use ! - no 64 bits support...</H2>\n<div style='font-size:18px'>{current}:&nbsp;{APP_SQUID}:&nbsp;<strong>{$squid_version}</strong>&nbsp;&nbsp;|&nbsp;{architecture}:&nbsp;<strong>{$ArchStruct}</strong></div>\n<table style='width:100%;margin-top:15px'>\n<tbody>\n<tr>\n\t<td valign='top' width=1%><img src='img/bg_squid.jpg'></td>\n\t<td valign='top'>\n\t\t\t<table style='width:100%' class=form>\n\t\t\t\t<tbody>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td class=legend style='font-size:14px'>{available_software}:</td>\n\t\t\t\t\t\t<td style='font-size:14px;font-weight:bold'>{APP_SQUID2}</div></td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td class=legend style='font-size:14px'>&nbsp;</td>\n\t\t\t\t\t\t<td style='font-size:14px;font-weight:bold'>{$availableversion}</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td class=legend style='font-size:14px'>{current}:</td>\n\t\t\t\t\t\t<td style='font-size:14px;font-weight:bold'>{$actualversion}</td>\n\t\t\t\t\t</tr>\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t</tbody>\n\t\t\t\t\n\t\t\t</table>\n\t\t\t<div style='font-size:12px'>{APP_SQUID_TEXT}</div>\n\t\t\t<p>&nbsp;</p>\n\t\t\t<span id='squid-install-status'></span>\n\t\t\t<div style='text-align:right;width:100%'>" . imgtootltip("refresh-24.png", "{refresh}", "squid_install_status()") . "</div>\n\t</td>\n</tr>\n\n<tr>\n\t<td colspan=2><hr></td>\n</tr>\n\n<tr>\n\t<td valign='top' width=1%><img src='img/bg_dansguardian.jpg'></td>\n\t<td valign='top'>\n\t\t\t<table style='width:100%' class=form>\n\t\t\t\t<tbody>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td class=legend style='font-size:14px'>{available_software}:</td>\n\t\t\t\t\t\t<td style='font-size:14px;font-weight:bold'>{APP_DANSGUARDIAN}</div></td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td class=legend style='font-size:14px'>&nbsp;</td>\n\t\t\t\t\t\t<td style='font-size:14px;font-weight:bold'>{$availableversion_dansguardian}</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td class=legend style='font-size:14px'>{current}:</td>\n\t\t\t\t\t\t<td style='font-size:14px;font-weight:bold'>{$actualversion_dansguardian}</td>\n\t\t\t\t\t</tr>\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t</tbody>\n\t\t\t\t\n\t\t\t</table>\n\t\t\t<div style='font-size:12px'>{danseguardian_simple_intro}</div>\n\t\t\t<p>&nbsp;</p>\n\t\t\t<span id='dansguardian-install-status'></span>\n\t\t\t<div style='text-align:right;width:100%'>" . imgtootltip("refresh-24.png", "{refresh}", "dansguardian_install_status()") . "</div>\n\t</td>\n</tr>\n\n\n\n\n</tbody>\n</table>\n<script>\n\tfunction squid_install_status(){\n\t\tLoadAjaxTiny('squid-install-status','{$page}?install-status=yes&APPLI=APP_SQUID2');\n\t}\n\t\n\tfunction dansguardian_install_status(){\n\t\tLoadAjaxTiny('dansguardian-install-status','{$page}?install-status=yes&APPLI=APP_DANSGUARDIAN2');\n\t}\t\nsquid_install_status();\ndansguardian_install_status();\n</script>\n";
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:,项目名称:,代码行数:32,代码来源:

示例11: js

function js()
{
    header("content-type: application/x-javascript");
    echo "Loadjs('squid.reconfigure.php')";
    return;
    $sock = new sockets();
    $users = new usersMenus();
    $EnableWebProxyStatsAppliance = $sock->GET_INFO("EnableWebProxyStatsAppliance");
    $EnableRemoteStatisticsAppliance = $sock->GET_INFO("EnableRemoteStatisticsAppliance");
    if (!is_numeric($EnableWebProxyStatsAppliance)) {
        $EnableWebProxyStatsAppliance = 0;
    }
    if (!is_numeric($EnableRemoteStatisticsAppliance)) {
        $EnableRemoteStatisticsAppliance = 0;
    }
    if ($users->WEBSTATS_APPLIANCE) {
        $EnableWebProxyStatsAppliance = 1;
    }
    if ($EnableWebProxyStatsAppliance == 1) {
        $sock->getFrameWork("squid.php?notify-remote-proxy=yes");
        $tpl = new templates();
        echo "alert('" . $tpl->javascript_parse_text("{proxy_clients_was_notified}") . "');";
        return;
    }
    $sock->getFrameWork("squid.php?compile-by-interface=yes");
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->javascript_parse_text("{building_parameters}");
    $html = "YahooSetupControlModalFixed('700','{$page}?popup=yes','{$title}')";
    echo $html;
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:31,代码来源:squid.compile.php

示例12: SaveMIL

function SaveMIL()
{
    $sock = new sockets();
    $sock->SET_INFO("MailingListUseLdap", $_POST["MailingListUseLdap"]);
    $sock->getFrameWork("cmd.php?SaveMaincf=yes");
    $sock->getFrameWork("cmd.php?postfix-hash-tables=yes");
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:7,代码来源:postfix.maillinglist.php

示例13: rebuild

function rebuild()
{
    $sock = new sockets();
    $data = $sock->getFrameWork("network.php?etc-hosts=yes");
    $sock->getFrameWork("cmd.php?virtuals-ip-reconfigure=yes");
    $data = unserialize(base64_decode($data));
    echo @implode("\n", $data);
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:8,代码来源:system-etc-hosts.php

示例14: EnableFTPProxy

function EnableFTPProxy()
{
    $sock = new sockets();
    $sock->SET_INFO("EnableFTPProxy", $_POST["EnableFTPProxy"]);
    $sock->getFrameWork("ftpproxy.php?init=yes");
    $sock->getFrameWork("ftpproxy.php?restart=yes");
    $sock->getFrameWork("cmd.php?restart-artica-status=yes");
}
开发者ID:BillTheBest,项目名称:1.6.x,代码行数:8,代码来源:ftp.proxy.php

示例15: status

function status()
{
    $sock = new sockets();
    $version = base64_decode($sock->getFrameWork("zarafa.php?webaccess-version=yes"));
    $WebAPPVersion = base64_decode($sock->getFrameWork("zarafa.php?webapp-version=yes"));
    $html = "\n\t<table style='width:100%'>\n\t<tr>\n\t\t<td valign='top' style='vertical-align:top' width=296px><img src='img/webaccess-256.png' style='margin-right:15px'></td>\n\t\t<td valign='top' style='vertical-align:top'><div style='font-size:22px'>Zarafa Web-Access V{$version}</div>\n\t\t<div class=text-info style='font-size:16px;margin-top:15px'>{APP_ZARAFA_WEBACCESS_TEXT}</div>\n\t\t<div style='text-align:right'>" . button("{manual_update}", "Loadjs('miniadmin.zarafa-webaccess.update.php')") . "</div>\n\t\t</td>\n\t</tr>\n\t<tr>\n\t\t<td valign='top' style='vertical-align:top' width=296px><img src='img/webaccess-256.png' style='margin-right:15px'></td>\n\t\t<td valign='top' style='vertical-align:top'><div style='font-size:22px'>Zarafa Web-APP V{$WebAPPVersion}</div>\n\t\t<div class=text-info style='font-size:16px;margin-top:15px'>{APP_ZARAFA_WEBAPP_TEXT}</div>\n\t\t<div style='text-align:right'>" . button("{manual_update}", "Loadjs('miniadmin.zarafa-webapp.update.php')") . "</div>\n\t\t</td>\n\t</tr>\t\t\t\t\n\t</table>\t\n\t\t\t\n\t";
    $tpl = new templates();
    echo $tpl->_ENGINE_parse_body($html);
}
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:9,代码来源:miniadmin.zarafa-webaccess.php


注:本文中的sockets::getFrameWork方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。