diff options
author | Thomas ZILLIOX <thomas@zilliox.me> | 2013-05-30 23:42:25 +0400 |
---|---|---|
committer | Thomas ZILLIOX <thomas@zilliox.me> | 2013-05-30 23:42:25 +0400 |
commit | 5e39f1cebcf7453047cb7b7712342f0dd4ae7be2 (patch) | |
tree | d6af25da76d681a14a2f51d367bd89df203dc7e5 /plugins/Proxy | |
parent | 4d3b77ed8e2498c5fd4eb6eb35a6dd1a08d6f7d1 (diff) |
Rename template file names
Diffstat (limited to 'plugins/Proxy')
-rw-r--r-- | plugins/Proxy/Controller.php | 2 | ||||
-rw-r--r-- | plugins/Proxy/templates/exportImageWindow.twig (renamed from plugins/Proxy/templates/exportImage.twig) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Proxy/Controller.php b/plugins/Proxy/Controller.php index 12e8435703..1d714e3570 100644 --- a/plugins/Proxy/Controller.php +++ b/plugins/Proxy/Controller.php @@ -29,7 +29,7 @@ class Piwik_Proxy_Controller extends Piwik_Controller { Piwik::checkUserHasSomeViewAccess(); - $view = Piwik_View::factory('exportImage'); + $view = new Piwik_View('@Proxy/exportImageWindow'); $view->imageData = 'data:image/png;base64,' . Piwik_Common::getRequestVar('imageData', self::TRANSPARENT_PNG_PIXEL, 'string', $_POST); echo $view->render(); } diff --git a/plugins/Proxy/templates/exportImage.twig b/plugins/Proxy/templates/exportImageWindow.twig index 85bc749a0f..85bc749a0f 100644 --- a/plugins/Proxy/templates/exportImage.twig +++ b/plugins/Proxy/templates/exportImageWindow.twig |