Changeset 16 for trunk/dotnode-new.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-new.php

    r10 r16  
    2727include('../includes/config/global.inc.php'); 
    2828 
    29 $smarty = new Smarty; 
    30  
    31 $smarty->template_dir = SMARTYPATH.'/templates/'; 
    32 $smarty->compile_dir = SMARTYPATH.'/templates_c/'; 
    33 $smarty->config_dir = SMARTYPATH.'/configs/'; 
    34 $smarty->cache_dir = SMARTYPATH.'/cache/'; 
    35  
     29$smarty = new Smarty_dotnode; 
    3630$smarty->compile_id = 'new'; 
    37  
    38 $smarty->debugging_ctrl = false; 
    39  
    40 $smarty->register_block('t', 'smarty_translate'); 
    41 $smarty->register_modifier('wikise', 'Wikise'); 
    42 $smarty->register_function('html_access_options', 'smarty_function_html_access_options'); 
    43 $smarty->use_sub_dirs = true; 
    44  
    45 #$smarty->force_compile = true; 
    4631 
    4732$token = retreive_url_info($_SERVER['PHP_SELF']);