Skip to content

Commit cc2ac16

Browse files
committed
Fix unknown config warning
1 parent 922ef36 commit cc2ac16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Site_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public function delete( $args ) {
276276
*/
277277
private function init_le() {
278278
$client = new Site_Letsencrypt();
279-
$this->le_mail = EE::get_config( 'le-mail' ) ?? EE::input( 'Enter your mail id: ' );
279+
$this->le_mail = EE::get_runner()->config[ 'le-mail' ] ?? EE::input( 'Enter your mail id: ' );
280280
if ( ! $client->register( $this->le_mail ) ) {
281281
$this->le = false;
282282

0 commit comments

Comments
 (0)