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

    r12 r16  
    3131$login = $regs[1]; 
    3232 
    33 $smarty = new Smarty; 
    34  
     33$smarty = new Smarty_dotnode; 
    3534$smarty->template_dir = SMARTYPATH.'/templates_xml/'; 
    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_modifier('wikise', 'Wikise'); 
    4135$smarty->compile_id = 'xml'; 
    42 $smarty->caching = false; 
    43 $smarty->cache_lifetime = 3600; 
    44 $smarty->use_sub_dirs = true; 
    45  
    46 ini_set('session.name','dotnodeSessID'); 
    47 ini_set('session.save_path',BASEPATH.'/../sessions'); 
    48  
    49 include(INCLUDESPATH.'/session_save_handler.inc.php'); 
    50 session_set_save_handler ("_sess_open", "_sess_close", "_sess_read", "_sess_write", "_sess_destroy", "_sess_gc"); 
    5136 
    5237session_start();