Shipu / themevel

Theme and asset management for laravel
Creative Commons Zero v1.0 Universal
347 stars 67 forks source link

change the symlink creation condition #59

Closed tmtung144 closed 3 years ago

tmtung144 commented 3 years ago

I noticed laravel's File:exists() wasn't working correctly with symlinks, I changed it with pure php's is_link() function and recombined your condition for more brevity. Please merge it if you agree with this. Thank you!

enverarslan commented 1 year ago

is_link does not work as expected in windows. https://www.php.net/manual/en/function.is-link.php related: #63