Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-11-17 02:05:11 +0300
committermattab <matthieu.aubry@gmail.com>2014-11-17 02:08:37 +0300
commit26c82f1ca5a80e0ab4d0a01613e3079821a5ba46 (patch)
treea9c4562cc2db01e627b35e407270917ab4e57e63 /misc/others
parent68375eaa96c5f1ec58a7efea2add182e1afa1a3a (diff)
Silent fail in front of ini_set to prevent warning raised when function disabled
Diffstat (limited to 'misc/others')
-rwxr-xr-xmisc/others/geoipUpdateRows.php2
1 files changed, 1 insertions, 1 deletions
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);