File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -134,19 +134,20 @@ public function addExecute(Request $request)
134134 'SSL_CERT ' => $ _s ['SSL_CERT ' ]
135135 );
136136
137- if ($ _s ['SSL_HOME ' ]) {
138- $ params ['SSL_HOME ' ] = $ _s ['SSL_HOME ' ];
139- }
137+ if ($ _s ['SSL_HOME ' ]) {
138+ $ params ['SSL_HOME ' ] = $ _s ['SSL_HOME ' ];
139+ }
140140
141- if ($ _s ['SSL_TEXT ' ]) {
142- // TODO: implement
143- }
141+ if ($ _s ['SSL_TEXT ' ]) {
142+ // TODO: implement
143+ }
144144
145- $ result = 0 ;
146- $ result = Vesta::execute (Vesta::V_ADD_WEB_DOMAIN_SSL , $ params );
145+ $ result = 0 ;
146+ $ result = Vesta::execute (Vesta::V_ADD_WEB_DOMAIN_SSL , $ params );
147147
148- if (!$ result ['status ' ]) {
149- $ this ->errors ['SSL ' ] = array ($ result ['error_code ' ] => $ result ['error_message ' ]);
148+ if (!$ result ['status ' ]) {
149+ $ this ->errors ['SSL ' ] = array ($ result ['error_code ' ] => $ result ['error_message ' ]);
150+ }
150151 }
151152 }
152153
@@ -164,7 +165,7 @@ public function addExecute(Request $request)
164165 $ result = $ dns ->addExecute ($ params );
165166 if (!$ result ['status ' ]) {
166167 $ this ->errors ['DNS_DOMAIN ' ] = array ($ result ['error_code ' ] => $ result ['error_message ' ]);
167- }
168+ }
168169 }
169170
170171 /*
You can’t perform that action at this time.
0 commit comments