mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
FIX #1005 undefined array key
This commit is contained in:
parent
cb83f15944
commit
5d0ff86d4a
@ -276,7 +276,7 @@ class HttpdManagement {
|
||||
|
||||
$this->sftpObject->put($this->vhostData['vhostConfigFile'], $this->vhostData['templateFileContent']);
|
||||
|
||||
if ($this->vhostData['fpmFileContent'] != '') {
|
||||
if (array_key_exists('fpmFileContent', $this->vhostData) and $this->vhostData['fpmFileContent'] != '') {
|
||||
$this->sftpObject->put($this->vhostData['fpmConfigPath'], $this->vhostData['fpmFileContent']);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user