mirror of
https://github.com/nextcloud/server.git
synced 2026-03-06 07:21:11 -05:00
I use the term socket for any extension, either unix socket, or internet socket (port). I check if the socket is all digits * only integers 0 and larger would pass this test. I then check if the string is less than or equal to the maximum port number. By using "if($socket)" I make sure socket isn't false, empty, or the string '0'. I don't believe I need to initialize $port because $port will always be set if $socket is true. Please show me if I am wrong here. Thanks |
||
|---|---|---|
| .. | ||
| l10n | ||
| private | ||
| public | ||
| autoloader.php | ||
| base.php | ||