Skip to content

Commit dd13c2b

Browse files
authored
Add files via upload
1 parent acd537f commit dd13c2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Install.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ public static function install()
3030
*/
3131
public static function uninstall()
3232
{
33-
unlink(base_path()."/webman");
33+
if (is_file(base_path()."/webman")) {
34+
unlink(base_path() . "/webman");
35+
}
3436

3537
self::uninstallByRelation();
3638
}

0 commit comments

Comments
 (0)