Changeset 816 for trunk/lib/Utilities.inc.php
- Timestamp:
- Jul 3, 2024 1:26:01 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Utilities.inc.php
r814 r816 1829 1829 { 1830 1830 $context = stream_context_create(['http' => ['method' => $method]]); 1831 $headers = get_headers($url, 1, $context); 1831 // Silence warning: PHP Warning: get_headers() expects at most 2 parameters, 3 given 1832 $headers = @get_headers($url, 1, $context); 1832 1833 $app =& \App::getInstance(); 1833 1834 $app->logMsg(sprintf('HTTP response headers for %s %s: %s', strtoupper($method), $url, getDump($headers, true, SC_DUMP_JSON)), LOG_DEBUG, __FILE__, __LINE__);
Note: See TracChangeset
for help on using the changeset viewer.