Commit d01f16f5 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

No commit message

No commit message
parent 508e7ef0
...@@ -319,7 +319,7 @@ class tx_nG6_pi1 extends tslib_pibase { ...@@ -319,7 +319,7 @@ class tx_nG6_pi1 extends tslib_pibase {
// Try to process the analyse template // Try to process the analyse template
try { try {
if (file_exists(t3lib_extMgm::extPath($this->extKey).'pi1/analyzes/'.$analyse['class'].'.js')) { if (file_exists(t3lib_extMgm::extPath($this->extKey).'pi1/analyzes/'.$analyse['class'].'.js')) {
$GLOBALS['TSFE']->additionalHeaderData[$this->prefixId] .= '<script type="text/javascript" src="'.t3lib_extMgm::siteRelPath($this->extKey).'pi1/analyzes/'.$analyse['class'].'.js"></script>' $GLOBALS['TSFE']->additionalHeaderData[$this->prefixId] .= '<script type="text/javascript" src="'.t3lib_extMgm::siteRelPath($this->extKey).'pi1/analyzes/'.$analyse['class'].'.js"></script>';
} }
return $smarty->fetch($analyse['class'].'.tpl'); return $smarty->fetch($analyse['class'].'.tpl');
} catch (Exception $e) { } catch (Exception $e) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment