Skip to content

Commit

Permalink
Avoid existence warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Sep 17, 2022
1 parent d222324 commit 30afbc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Horde/Core/Factory/ActiveSyncServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ public function create(Horde_Injector $injector)

$server->setLogger(new Horde_ActiveSync_Log_Factory(array(
'type' => $conf['activesync']['logging']['type'],
'path' => $conf['activesync']['logging']['path'],
'path' => !empty($conf['activesync']['logging']['path'])
? $conf['activesync']['logging']['path']
: '',
'level' => $level))
);
if (!empty($conf['openssl']['cafile'])) {
Expand Down

0 comments on commit 30afbc4

Please sign in to comment.