Skip to content

Commit

Permalink
- new url
Browse files Browse the repository at this point in the history
  • Loading branch information
xrow committed Oct 19, 2016
1 parent 503cd68 commit 0b4e7b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/xrowpiwik/xrowpiwik.php
Expand Up @@ -30,6 +30,10 @@

require_once( "kernel/common/template.php" );

$xp_ini = eZINI::instance('xrowpiwik.ini');

$URL = trim($xp_ini->variable('General', 'URL'));

$module = $Params['Module'];
$http = eZHTTPTool::instance();
$tpl = eZTemplate::factory();
Expand All @@ -39,7 +43,7 @@
$tpl->setVariable( 'baseurl', $thisUrl );

$Result = array();
$Result['content'] = "<iframe src=\"/extension/xrowpiwik/src/piwik/index.php\" width='98%' height='780' frameborder='0'></iframe>";
$Result['content'] = "<iframe src=\"".$URL."\" width='98%' height='780' frameborder='0'></iframe>";
$Result['left_menu'] = "design:xrowpiwik/backoffice_left_menu.tpl";
$Result['path'] = array( array( 'url' => false,
'text' => "xrow PIWIK" ) );

0 comments on commit 0b4e7b5

Please sign in to comment.