not used, not up2date, just pollute the thing. trash it
[platal.git] / include / platal / page.inc.php
index 0e54af0..aa26ae1 100644 (file)
@@ -45,8 +45,10 @@ class PlatalPage extends DiogenesCorePage
     {
         global $globals;
 
+        $this->DiogenesCorePage();
+
         $this->template_dir  = $globals->spoolroot."/templates/";
-        $this->compile_dir   = $globals->spoolroot."/templates_c/";
+        $this->compile_dir   = $globals->spoolroot."/spool/templates_c/";
         array_unshift($this->plugins_dir, $globals->spoolroot."/plugins/");
         $this->config_dir    = $globals->spoolroot."/configs/";
 
@@ -61,7 +63,6 @@ class PlatalPage extends DiogenesCorePage
         $this->_tpl       = $tpl;
         $this->_errors    = new XOrgErrors;
 
-        $this->DiogenesCorePage();
         $this->register_prefilter('at_to_globals');
         $this->register_prefilter('trimwhitespace');
         $this->addJsLink('javascript/xorg.js');