|
@@ -5476,7 +5476,6 @@ discard block |
|
|
block discarded – undo |
|
5476
|
5476
|
|
|
5477
|
5477
|
/** |
|
5478
|
5478
|
* Tries different modes to make file/dirs writable. Wrapper function for chmod() |
|
5479
|
|
- |
|
5480
|
5479
|
* @param string $file The file/dir full path. |
|
5481
|
5480
|
* @param int $value Not needed, added for legacy reasons. |
|
5482
|
5481
|
* @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. |
|
@@ -5516,7 +5515,6 @@ discard block |
|
|
block discarded – undo |
|
5516
|
5515
|
|
|
5517
|
5516
|
/** |
|
5518
|
5517
|
* Wrapper function for json_decode() with error handling. |
|
5519
|
|
- |
|
5520
|
5518
|
* @param string $json The string to decode. |
|
5521
|
5519
|
* @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. |
|
5522
|
5520
|
* @param bool $logIt To specify if the error will be logged if theres any. |
|
@@ -6007,7 +6005,7 @@ discard block |
|
|
block discarded – undo |
|
6007
|
6005
|
$cont = stream_context_get_params($read); |
|
6008
|
6006
|
$result = isset($cont["options"]["ssl"]["peer_certificate"]) ? true : false; |
|
6009
|
6007
|
} |
|
6010
|
|
- return $result; |
|
|
6008
|
+ return $result; |
|
6011
|
6009
|
} |
|
6012
|
6010
|
|
|
6013
|
6011
|
/** |
Please login to merge, or discard this patch.