diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-11-17 02:05:11 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-11-17 02:08:37 +0300 |
commit | 26c82f1ca5a80e0ab4d0a01613e3079821a5ba46 (patch) | |
tree | a9c4562cc2db01e627b35e407270917ab4e57e63 /misc | |
parent | 68375eaa96c5f1ec58a7efea2add182e1afa1a3a (diff) |
Silent fail in front of ini_set to prevent warning raised when function disabled
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/others/geoipUpdateRows.php | 2 |
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); |