Browse Source

update fail path init

nex-php
yggverse 7 months ago
parent
commit
87b7d288ae
  1. 5
      src/nex.php

5
src/nex.php

@ -74,10 +74,7 @@ foreach ((array) $argv as $item) @@ -74,10 +74,7 @@ foreach ((array) $argv as $item)
case 'fail':
$fail = rtrim(
(string) $argument['value'],
DIRECTORY_SEPARATOR
) . DIRECTORY_SEPARATOR;
$fail = (string) $argument['value'];
if (!str_starts_with($fail, DIRECTORY_SEPARATOR))
{

Loading…
Cancel
Save