X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Fnodes.php;h=3757485ad36f744e148939a62d4afcbfc4fd65d3;hb=4a4a108fe96c04a90948f8938d7e55b346912a47;hp=85fef19f6f4598e64f354434e537beee0dfbd893;hpb=b6e351974839ae98f13663c02917350d2f408d66;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/nodes.php b/wwwroot/nodes.php index 85fef19..3757485 100644 --- a/wwwroot/nodes.php +++ b/wwwroot/nodes.php @@ -6,6 +6,7 @@ if (!empty($_POST['FORCE_OB']) && $_POST['FORCE_OB'] == 'true') ob_start(); //echo "je to uz uplne v pici. vsetky data su stratene, prajem pekny den :)"; //exit; error_reporting(1); +$_SESSION['debugging']=1; //exit; //starting timer for benchmarking purposes @@ -62,11 +63,11 @@ require(SMARTY_DIR.'Smarty.class.php'); $smarty = new Smarty; //$smarty->php_handling = SMARTY_PHP_REMOVE; //XXX -$smarty->template_dir = TEMPLATE_DIR.TEMPLATE_SET; +$smarty->template_dir = TEMPLATE_DIR; //echo TEMPLATE_DIR.TEMPLATE_SET; //echo $smarty->template_dir; -$smarty->compile_dir = SYSTEM_ROOT."data/templates_c/".TEMPLATE_SET; -$smarty->config_dir = SMARTY_DIR.'configs/'; +$smarty->compile_dir = SYSTEM_DATA."templates_c/"; +$smarty->config_dir = SMARTY_DIR.'configs/'; #XXX neexistuje $smarty->cache_dir = SMARTY_DIR.'cache/'; $smarty->plugins_dir = SMARTY_PLUGIN_DIR ; if ($_SESSION['debugging']) $smarty->debugging=true;