|
@@ -5495,7 +5495,6 @@ discard block |
|
|
block discarded – undo |
|
5495
|
5495
|
|
|
5496
|
5496
|
/** |
|
5497
|
5497
|
* Tries different modes to make file/dirs writable. Wrapper function for chmod() |
|
5498
|
|
- |
|
5499
|
5498
|
* @param string $file The file/dir full path. |
|
5500
|
5499
|
* @param int $value Not needed, added for legacy reasons. |
|
5501
|
5500
|
* @return boolean true if the file/dir is already writable or the function was able to make it writable, false if the function couldn't make the file/dir writable. |
|
@@ -5535,7 +5534,6 @@ discard block |
|
|
block discarded – undo |
|
5535
|
5534
|
|
|
5536
|
5535
|
/** |
|
5537
|
5536
|
* Wrapper function for json_decode() with error handling. |
|
5538
|
|
- |
|
5539
|
5537
|
* @param string $json The string to decode. |
|
5540
|
5538
|
* @param bool $returnAsArray To return the decoded string as an array or an object, SMF only uses Arrays but to keep on compatibility with json_decode its set to false as default. |
|
5541
|
5539
|
* @param bool $logIt To specify if the error will be logged if theres any. |
|
@@ -6029,7 +6027,7 @@ discard block |
|
|
block discarded – undo |
|
6029
|
6027
|
$params = stream_context_get_params($stream); |
|
6030
|
6028
|
$result = isset($params["options"]["ssl"]["peer_certificate"]) ? true : false; |
|
6031
|
6029
|
} |
|
6032
|
|
- return $result; |
|
|
6030
|
+ return $result; |
|
6033
|
6031
|
} |
|
6034
|
6032
|
|
|
6035
|
6033
|
/** |
Please login to merge, or discard this patch.