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 caebc95 commit 0e5cdfeCopy full SHA for 0e5cdfe
nodebb.php
@@ -65,7 +65,7 @@ public function setup( $args ) {
65
shell_exec( $cmd );
66
67
// Copy over nodebb core files
68
- $nodebb_version = file_get_contents( './nodebb_version.sh' );
+ $nodebb_version = file_get_contents( __DIR__ . '/nodebb_version.sh' );
69
$nodebb_version = str_replace( 'nodebb_version=', "", $nodebb_version );
70
$nodebb_version = trim( $nodebb_version, '"' );
71
$opt_nodebb = '/opt/nodebb/v' . $nodebb_version . '/nodebb';
0 commit comments