forked from ZwiiCMS-Team/ZwiiCMS
070 raz config si indispo
This commit is contained in:
parent
fd951381f8
commit
f7a05e4bf6
@ -403,7 +403,9 @@ class config extends common {
|
|||||||
'legalPageId' => $this->getInput('configLegalPageId'),
|
'legalPageId' => $this->getInput('configLegalPageId'),
|
||||||
'metaDescription' => $this->getInput('configMetaDescription', helper::FILTER_STRING_LONG, true),
|
'metaDescription' => $this->getInput('configMetaDescription', helper::FILTER_STRING_LONG, true),
|
||||||
'title' => $this->getInput('configTitle', helper::FILTER_STRING_SHORT, true),
|
'title' => $this->getInput('configTitle', helper::FILTER_STRING_SHORT, true),
|
||||||
'autoUpdate' => $this->getInput('configAutoUpdate', helper::FILTER_BOOLEAN),
|
'autoUpdate' => helper::urlGetContents('http://zwiicms.com/update/' . common::ZWII_UPDATE_CHANNEL . '/version') === false
|
||||||
|
? false
|
||||||
|
: $this->getInput('configAutoUpdate', helper::FILTER_BOOLEAN),
|
||||||
'proxyType' => $this->getInput('configProxyType'),
|
'proxyType' => $this->getInput('configProxyType'),
|
||||||
'proxyUrl' => $this->getInput('configProxyUrl'),
|
'proxyUrl' => $this->getInput('configProxyUrl'),
|
||||||
'proxyPort' => $this->getInput('configProxyPort',helper::FILTER_INT)
|
'proxyPort' => $this->getInput('configProxyPort',helper::FILTER_INT)
|
||||||
|
Loading…
Reference in New Issue
Block a user