Show
Ignore:
Timestamp:
08/10/05 21:20:03 (7 years ago)
Author:
alexx
Message:
  • cleanup crapy code in dotnode-xml.php
  • include new Smarty_dotnode object to fix #14
  • modify reset_data.sh bash script to fix log problem
  • remove hardcoded ini_set error_log in config (it must bi fixed in vhost, or if not possible: in config_server.inc.php
  • fix impossibility to change language in dotpage (cookie name not set correctly)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/dotnode-dotpage.php

    r12 r16  
    3131$login = $regs[1]; 
    3232 
    33 $smarty = new Smarty; 
     33$smarty = new Smarty_dotnode; 
     34$smarty->template_dir = SMARTYPATH.'/templates_hp/'; 
     35$smarty->compile_id = 'hp'; 
     36$smarty->cache_lifetime = 600; 
    3437 
    35 $smarty->template_dir = SMARTYPATH.'/templates_hp/'; 
    36 $smarty->compile_dir = SMARTYPATH.'/templates_c/'; 
    37 $smarty->config_dir = SMARTYPATH.'/configs/'; 
    38 $smarty->cache_dir = SMARTYPATH.'/cache/'; 
    39 $smarty->debugging_ctrl = false; 
    40 $smarty->register_block('t', 'smarty_translate'); 
    41 $smarty->register_modifier('wikise', 'Wikise'); 
    42 $smarty->register_modifier('utf8', 'smarty_modifier_utf8'); 
    43  
    44 $smarty->compile_id = 'hp'; 
    45 $smarty->caching = false; 
    46 $smarty->cache_lifetime = 600; 
    47 $smarty->cache_modified_check = 1; 
    48 $smarty->use_sub_dirs = 1; 
    4938if(!$smarty->is_cached('index.tpl', $login.'.'.$lang.'.'.$_SERVER['PHP_SELF'] )) 
    5039{