diff options
author | diosmosis <benaka@piwik.pro> | 2015-05-07 09:19:15 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-05-07 09:19:15 +0300 |
commit | 379e203f70d3fac13dc72b56c1be7fe945fd6dc7 (patch) | |
tree | 215566ac824e7e6e7edd5029dd2b10bdf491da26 /misc | |
parent | 7cfefd74f7b0680c618d24699f9ccaf2ccbd8c02 (diff) |
Fix updatetoken.php script now that Environment::get is removed.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/cron/updatetoken.php | 2 |
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); |