diff options
-rw-r--r-- | core/Mail.php | 2 | ||||
-rwxr-xr-x | misc/others/geoipUpdateRows.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Mail.php b/core/Mail.php index 179b1221ab..1e9ef0bb52 100644 --- a/core/Mail.php +++ b/core/Mail.php @@ -107,7 +107,7 @@ class Mail extends Zend_Mail $tr = new \Zend_Mail_Transport_Smtp($mailConfig['host'], $smtpConfig); Mail::setDefaultTransport($tr); - ini_set("smtp_port", $mailConfig['port']); + @ini_set("smtp_port", $mailConfig['port']); } public function send($transport = NULL) diff --git a/misc/others/geoipUpdateRows.php b/misc/others/geoipUpdateRows.php index 76f31115cb..09ae69d3d4 100755 --- a/misc/others/geoipUpdateRows.php +++ b/misc/others/geoipUpdateRows.php @@ -10,7 +10,7 @@ use Piwik\Plugins\UserCountry\LocationProvider\GeoIp\Php; require_once './cli-script-bootstrap.php'; -ini_set("memory_limit", "512M"); +@ini_set("memory_limit", "512M"); $query = "SELECT count(*) FROM " . Common::prefixTable('log_visit'); $count = Db::fetchOne($query); |