@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | php $argv[0] -i |
178 | 178 | php $argv[0] -sn Web-site -i |
179 | 179 | |
180 | -HELP; |
|
180 | +help; |
|
181 | 181 | return; |
182 | 182 | } |
183 | 183 | |
@@ -217,4 +217,4 @@ discard block |
||
217 | 217 | Login: $admin_login |
218 | 218 | Password: $options[admin_password] |
219 | 219 | |
220 | -SUCCESS; |
|
220 | +success; |
@@ -120,7 +120,7 @@ |
||
120 | 120 | if (isset($_POST['site_url'])) { |
121 | 121 | $url = $_POST['site_url']; |
122 | 122 | } else { |
123 | - $https = @$_SERVER['HTTPS'] ? $_SERVER['HTTPS'] !== 'off' : ( |
|
123 | + $https = @$_SERVER['HTTPS'] ? $_SERVER['HTTPS'] !== 'off' : ( |
|
124 | 124 | @$_SERVER['REQUEST_SCHEME'] === 'https' || |
125 | 125 | @$_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https' |
126 | 126 | ); |