diff --git a/templates/protostar/index.php b/templates/protostar/index.php index 1f316fca5d506..e03c754c5d9e3 100644 --- a/templates/protostar/index.php +++ b/templates/protostar/index.php @@ -37,10 +37,10 @@ // Add JavaScript Frameworks JHtml::_('bootstrap.framework'); -$doc->addScript('templates/' . $this->template . '/js/template.js'); +$doc->addScript($this->baseurl . '/templates/' . $this->template . '/js/template.js'); // Add Stylesheets -$doc->addStyleSheet('templates/' . $this->template . '/css/template.css'); +$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/template.css'); // Load optional RTL Bootstrap CSS JHtml::_('bootstrap.loadCss', false, $this->direction);