mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 18:44:04 +00:00
Remove symlink validity check from symlinkExists() (only check for the symlink's existence)
This commit is contained in:
parent
8229e82b1a
commit
70eb2bc7d8
1 changed files with 1 additions and 1 deletions
|
|
@ -56,6 +56,6 @@ trait DealsWithTenantSymlinks
|
||||||
/** Determine if the provided path is an existing symlink. */
|
/** Determine if the provided path is an existing symlink. */
|
||||||
protected function symlinkExists(string $link): bool
|
protected function symlinkExists(string $link): bool
|
||||||
{
|
{
|
||||||
return file_exists($link) && is_link($link);
|
return is_link($link);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue