Skip to content

Commit 4b22fa8

Browse files
committed
cp default content
1 parent 6048ac2 commit 4b22fa8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ghost.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ public function hcpp_invoke_plugin( $args ) {
109109
$ghost_root = $hcpp->delLeftMost( $ghost_folder, $nodeapp_folder );
110110
$hcpp->runuser( $user, "mkdir -p $ghost_folder" );
111111

112-
// Copy over nodeapp files
112+
// Copy over nodeapp files and content folders
113113
$hcpp->copy_folder( __DIR__ . '/nodeapp', $ghost_folder, $user );
114+
$hcpp->copy_folder( '/opt/ghost/content', $ghost_folder . '/content', $user );
114115
chmod( $nodeapp_folder, 0755 );
115116

116117
// Create symbolic links

0 commit comments

Comments
 (0)