We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3a66ad commit aac9eadCopy full SHA for aac9ead
1 file changed
ghost.php
@@ -138,7 +138,8 @@ public function is_url_available( $url ) {
138
// Customize the install page
139
public function render_page( $args ) {
140
global $hcpp;
141
- if ( false === (strpos( $_SERVER['REQUEST_URI'], '?app=Ghost' ) !== false && $args['page'] == 'setup_webapp' ) ) return $args;
+ if ( $args['page'] !== 'setup_webapp') return $args;
142
+ if ( strpos( $_SERVER['REQUEST_URI'], '?app=Ghost' ) === false ) return $args;
143
$content = $args['content'];
144
$user = trim($args['user'], "'");
145
$shell = $hcpp->run( "list-user $user json")[$user]['SHELL'];
0 commit comments