We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac81582 commit 3f6a7e9Copy full SHA for 3f6a7e9
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" => "latest",
+ "version" => basename( readlink('/opt/ghost/current') ),
13
"thumbnail" => "ghost-thumb.png",
14
];
15
ghost.php
@@ -35,6 +35,7 @@ public function setup( $args ) {
35
$dbName = $user . '_' . $options['database_name'];
36
37
// Copy the Ghost files to the user folder
38
+ $ghost_version = basename( readlink('/opt/ghost/current') );
39
$ghost_folder = $options['ghost_folder'];
40
if ( $ghost_folder == '' || $ghost_folder[0] != '/' ) $ghost_folder = '/' . $ghost_folder;
41
$nodeapp_folder = "/home/$user/web/$domain/nodeapp";
0 commit comments