Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Fixed php 8.5 deprecation notice

givanz69b630bb8928
diff --git a/system/mail/smtp.php b/system/mail/smtp.php
index e739414..18f2766 100755
--- a/system/mail/smtp.php
+++ b/system/mail/smtp.php
@@ -158,7 +158,7 @@ class Smtp {
if ($handle) {
if (substr(PHP_OS, 0, 3) != 'WIN') {
- socket_set_timeout($handle, $this->option['timeout'], 0);
+ stream_set_timeout($handle, $this->option['timeout'], 0);
}
while ($line = fgets($handle, 515)) {