mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
fix str_starts_with attribute
This commit is contained in:
parent
a3f2ab0aa2
commit
d07025e5ee
2 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ if ($config->snap->storage->local->enabled)
|
|||
{
|
||||
foreach ((array) scandir($directory) as $filename)
|
||||
{
|
||||
if (is_dir($filename) || is_link($filename) || str_starts_with('.'))
|
||||
if (is_dir($filename) || is_link($filename) || str_starts_with($filename, '.'))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue