mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 07:57:02 +03:00
typo fix
This commit is contained in:
parent
4905377bac
commit
b50464afeb
2 changed files with 70 additions and 70 deletions
|
|
@ -341,13 +341,13 @@ class Http
|
||||||
/**
|
/**
|
||||||
* @param string $sUrl
|
* @param string $sUrl
|
||||||
* @param array $aPost = array()
|
* @param array $aPost = array()
|
||||||
* @param string $sCustomUserAgent = 'MaiSo Http User Agent (v1)'
|
* @param string $sCustomUserAgent = 'MailSo Http User Agent (v1)'
|
||||||
* @param int $iCode = 0
|
* @param int $iCode = 0
|
||||||
* @param \MailSo\Log\Logger $oLogger = null
|
* @param \MailSo\Log\Logger $oLogger = null
|
||||||
*
|
*
|
||||||
* @return string|bool
|
* @return string|bool
|
||||||
*/
|
*/
|
||||||
public function SendPostRequest($sUrl, $aPost = array(), $sCustomUserAgent = 'MaiSo Http User Agent (v1)', &$iCode = 0, $oLogger = null)
|
public function SendPostRequest($sUrl, $aPost = array(), $sCustomUserAgent = 'MailSo Http User Agent (v1)', &$iCode = 0, $oLogger = null)
|
||||||
{
|
{
|
||||||
$aOptions = array(
|
$aOptions = array(
|
||||||
CURLOPT_URL => $sUrl,
|
CURLOPT_URL => $sUrl,
|
||||||
|
|
@ -398,7 +398,7 @@ class Http
|
||||||
/**
|
/**
|
||||||
* @param string $sUrl
|
* @param string $sUrl
|
||||||
* @param resource $rFile
|
* @param resource $rFile
|
||||||
* @param string $sCustomUserAgent = 'MaiSo Http User Agent (v1)'
|
* @param string $sCustomUserAgent = 'MailSo Http User Agent (v1)'
|
||||||
* @param string $sContentType = ''
|
* @param string $sContentType = ''
|
||||||
* @param int $iCode = 0
|
* @param int $iCode = 0
|
||||||
* @param \MailSo\Log\Logger $oLogger = null
|
* @param \MailSo\Log\Logger $oLogger = null
|
||||||
|
|
@ -406,7 +406,7 @@ class Http
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function SaveUrlToFile($sUrl, $rFile, $sCustomUserAgent = 'MaiSo Http User Agent (v1)', &$sContentType = '', &$iCode = 0, $oLogger = null, $iTimeout = 10)
|
public function SaveUrlToFile($sUrl, $rFile, $sCustomUserAgent = 'MailSo Http User Agent (v1)', &$sContentType = '', &$iCode = 0, $oLogger = null, $iTimeout = 10)
|
||||||
{
|
{
|
||||||
if (!is_resource($rFile))
|
if (!is_resource($rFile))
|
||||||
{
|
{
|
||||||
|
|
@ -465,14 +465,14 @@ class Http
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $sUrl
|
* @param string $sUrl
|
||||||
* @param string $sCustomUserAgent = 'MaiSo Http User Agent (v1)'
|
* @param string $sCustomUserAgent = 'MailSo Http User Agent (v1)'
|
||||||
* @param string $sContentType = ''
|
* @param string $sContentType = ''
|
||||||
* @param int $iCode = 0
|
* @param int $iCode = 0
|
||||||
* @param \MailSo\Log\Logger $oLogger = null
|
* @param \MailSo\Log\Logger $oLogger = null
|
||||||
*
|
*
|
||||||
* @return string|bool
|
* @return string|bool
|
||||||
*/
|
*/
|
||||||
public function GetUrlAsString($sUrl, $sCustomUserAgent = 'MaiSo Http User Agent (v1)', &$sContentType = '', &$iCode = 0, $oLogger = null)
|
public function GetUrlAsString($sUrl, $sCustomUserAgent = 'MailSo Http User Agent (v1)', &$sContentType = '', &$iCode = 0, $oLogger = null)
|
||||||
{
|
{
|
||||||
$rMemFile = \MailSo\Base\ResourceRegistry::CreateMemoryResource();
|
$rMemFile = \MailSo\Base\ResourceRegistry::CreateMemoryResource();
|
||||||
if ($this->SaveUrlToFile($sUrl, $rMemFile, $sCustomUserAgent, $sContentType, $iCode, $oLogger) && \is_resource($rMemFile))
|
if ($this->SaveUrlToFile($sUrl, $rMemFile, $sCustomUserAgent, $sContentType, $iCode, $oLogger) && \is_resource($rMemFile))
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
<p>
|
<p>
|
||||||
After activation, commercial subscription for <strong data-bind="text: domain"></strong> will be extended.
|
After activation, commercial subscription for <strong data-bind="text: domain"></strong> will be extended.
|
||||||
<br />
|
<br />
|
||||||
Note that subscription key can only be activated for a single domain.
|
Note that subscription key can be activated for a single domain only.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Once started, the process of activation cannot be aborted or cancelled.
|
Once started, the process of activation cannot be aborted or cancelled.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue