Changeset 16 for trunk/dotnode-id.php

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-id.php

    r10 r16  
    3232} 
    3333 
    34 $smarty = new Smarty; 
     34$smarty = new Smarty_dotnode; 
    3535 
    3636$smarty->template_dir = SMARTYPATH.'/templates/'; 
    3737$smarty->compile_dir = SMARTYPATH.'/templates_c/'; 
    38 $smarty->config_dir = SMARTYPATH.'/configs/'; 
    39 $smarty->cache_dir = SMARTYPATH.'/cache/'; 
    40  
    4138$smarty->compile_id = 'www'; 
    42  
    43 $smarty->register_block('t', 'smarty_translate'); 
    44 $smarty->register_modifier('wikise', 'Wikise'); 
    45 $smarty->register_modifier('linkurl', 'smarty_modifier_linkurl'); 
    46 $smarty->register_modifier('utf8', 'smarty_modifier_utf8'); 
    47 $smarty->register_function('html_access_options', 'smarty_function_html_access_options'); 
    48 $smarty->use_sub_dirs = true; 
    49 #$smarty->force_compile = true; 
    5039 
    5140$token = retreive_url_info($_SERVER['PHP_SELF']);