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
path: root/misc
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-05-07 09:19:15 +0300
committerdiosmosis <benaka@piwik.pro>2015-05-07 09:19:15 +0300
commit379e203f70d3fac13dc72b56c1be7fe945fd6dc7 (patch)
tree215566ac824e7e6e7edd5029dd2b10bdf491da26 /misc
parent7cfefd74f7b0680c618d24699f9ccaf2ccbd8c02 (diff)
Fix updatetoken.php script now that Environment::get is removed.
Diffstat (limited to 'misc')
-rw-r--r--misc/cron/updatetoken.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cron/updatetoken.php b/misc/cron/updatetoken.php
index 43442889af..35de7ea36b 100644
--- a/misc/cron/updatetoken.php
+++ b/misc/cron/updatetoken.php
@@ -62,7 +62,7 @@ $token = Db::get()->fetchOne("SELECT token_auth
WHERE superuser_access = 1
ORDER BY date_registered ASC");
-$filename = $environment->get('path.tmp') . '/cache/token.php';
+$filename = $environment->getContainer()->get('path.tmp') . '/cache/token.php';
$content = "<?php exit; //\t" . $token;
file_put_contents($filename, $content);