mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Main repository for pfSense
preg_match returns 0 when the string does not match the regex. 0 does not "===" FALSE So this check is not always working. preg_match returns 1 when the string matches the regex. IMO it is better to check for !== 1 - then anything that is not success (0 or false or...) will be unset. |
||
|---|---|---|
| boot | ||
| cf/conf | ||
| conf.default | ||
| etc | ||
| root | ||
| sbin | ||
| tmp | ||
| usr | ||
| .gitattributes | ||
| .gitignore | ||
| license.txt | ||