We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f6a7e9 commit d368b3eCopy full SHA for d368b3e
2 files changed
Installers/Ghost/GhostSetup.php
@@ -9,7 +9,7 @@ class GhostSetup extends BaseSetup {
9
"name" => "Ghost",
10
"group" => "cms",
11
"enabled" => true,
12
- "version" => basename( readlink('/opt/ghost/current') ),
+ "version" => "%ghost_version%",
13
"thumbnail" => "ghost-thumb.png",
14
];
15
ghost.php
@@ -17,6 +17,7 @@ class Ghost {
17
public function __construct() {
18
global $hcpp;
19
$hcpp->ghost = $this;
20
+ $hcpp->ghost->version = basename( readlink('/opt/ghost/current') );
21
$hcpp->add_action( 'hcpp_invoke_plugin', [ $this, 'setup' ] );
22
$hcpp->add_action( 'hcpp_render_body', [ $this, 'hcpp_render_body' ] );
23
}
0 commit comments