GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b6e3519
)
template dir fixup
author
niekt0
<niekt0@kyberia.cz>
Sat, 23 Oct 2010 20:01:56 +0000
(22:01 +0200)
committer
Harvie
<tomas@mudrunka.cz>
Sun, 24 Oct 2010 01:43:05 +0000
(
03:43
+0200)
wwwroot/nodes.php
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/nodes.php
b/wwwroot/nodes.php
index 85fef19f6f4598e64f354434e537beee0dfbd893..3757485ad36f744e148939a62d4afcbfc4fd65d3 100644
(file)
--- 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);
//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
//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 = 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;
//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;
$smarty->cache_dir = SMARTY_DIR.'cache/';
$smarty->plugins_dir = SMARTY_PLUGIN_DIR ;
if ($_SESSION['debugging']) $smarty->debugging=true;
This page took
0.274955 seconds
and
4
git commands to generate.