Permalink
Browse files

Update index.php

  • Loading branch information...
1 parent c33c97f commit c53290cc5177acaca79d8b1f65f9a675aca651ee @Bloggerschmidt committed Nov 25, 2014
Showing with 2 additions and 18 deletions.
  1. +2 −18 index.php
View
@@ -1,22 +1,6 @@
<?php defined( '_JEXEC' ) or die;
-// variables
-$app = JFactory::getApplication();
-$doc = JFactory::getDocument();
-$menu = $app->getMenu();
-$active = $app->getMenu()->getActive();
-$params = $app->getParams();
-$pageclass = $params->get('pageclass_sfx');
-$tpath = $this->baseurl.'/templates/'.$this->template;
-
-// generator tag
-$this->setGenerator(null);
-
-// template js
-$doc->addScript($tpath.'/js/logic.js');
-
-// template css
-$doc->addStyleSheet($tpath.'/css/template.css.php');
+include_once JPATH_THEMES.'/'.$this->template.'/logic.php';
?><!doctype html>
@@ -39,4 +23,4 @@
<jdoc:include type="modules" name="debug" />
</body>
-</html>
+</html>

0 comments on commit c53290c

Please sign in to comment.