We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15cf722 commit d67940bCopy full SHA for d67940b
nodebb.php
@@ -122,7 +122,8 @@ public function setup( $args ) {
122
// Customize the install page
123
public function render_page( $args ) {
124
global $hcpp;
125
- if ( false === (strpos( $_SERVER['REQUEST_URI'], '?app=NodeBB' ) !== false && $args['page'] == 'setup_webapp' ) ) return $args;
+ if ( $args['page'] !== 'setup_webapp') return $args;
126
+ if ( strpos( $_SERVER['REQUEST_URI'], '?app=NodeBB' ) === false ) return $args;
127
$content = $args['content'];
128
$user = trim($args['user'], "'");
129
$shell = $hcpp->run( "list-user $user json")[$user]['SHELL'];
0 commit comments