Skip to content

Commit 56fc0ff

Browse files
authored
Add files via upload
1 parent 15f60fe commit 56fc0ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Commands/PluginExportCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public static function installByRelation()
120120
}
121121
//symlink(__DIR__ . "/\$source", base_path()."/\$dest");
122122
copy_dir(__DIR__ . "/\$source", base_path()."/\$dest");
123-
echo "Create $dest\r\n";
123+
echo "Create \$dest\r\n";
124124
}
125125
}
126126
@@ -135,9 +135,9 @@ public static function uninstallByRelation()
135135
if (!is_dir(\$path) && !is_file(\$path)) {
136136
continue;
137137
}
138-
echo "Remove $dest\r\n";
139-
if (is_file($path) || is_link($path)) {
140-
unlink($path);
138+
echo "Remove \$dest\r\n";
139+
if (is_file(\$path) || is_link(\$path)) {
140+
unlink(\$path);
141141
continue;
142142
}
143143
remove_dir(\$path);

0 commit comments

Comments
 (0)