Skip to content

Commit d368b3e

Browse files
committed
wip
1 parent 3f6a7e9 commit d368b3e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Installers/Ghost/GhostSetup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class GhostSetup extends BaseSetup {
99
"name" => "Ghost",
1010
"group" => "cms",
1111
"enabled" => true,
12-
"version" => basename( readlink('/opt/ghost/current') ),
12+
"version" => "%ghost_version%",
1313
"thumbnail" => "ghost-thumb.png",
1414
];
1515

ghost.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class Ghost {
1717
public function __construct() {
1818
global $hcpp;
1919
$hcpp->ghost = $this;
20+
$hcpp->ghost->version = basename( readlink('/opt/ghost/current') );
2021
$hcpp->add_action( 'hcpp_invoke_plugin', [ $this, 'setup' ] );
2122
$hcpp->add_action( 'hcpp_render_body', [ $this, 'hcpp_render_body' ] );
2223
}

0 commit comments

Comments
 (0)