Ignore:
Timestamp:
Oct 10, 2008, 1:14:43 AM (16 years ago)
Author:
rvelices
Message:
  • removed unused var from template
  • removed 2 unused rules from public content.css
  • index.php improvement (as in picture) - the log is done after sending first output to client
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/template.class.php

    r2643 r2699  
    2323
    2424
    25 require_once 'smarty/libs/Smarty.class.php';
     25require_once(PHPWG_ROOT_PATH.'include/smarty/libs/Smarty.class.php');
    2626
    2727// migrate lang:XXX
     
    174174
    175175  /**
    176    * Sets template extentions filenames for handles. 
     176   * Sets template extentions filenames for handles.
    177177   * $filename_array should be an hash of filename => array( handle, param) or filename => handle
    178178   */
     
    330330  function p()
    331331  {
    332     $start = get_moment();
    333 
    334332    $this->flush();
    335333
     
    339337      $this->smarty->assign(
    340338        array(
    341         'AAAA_DEBUG_OUTPUT_TIME__' => get_elapsed_time($start, get_moment()),
    342339        'AAAA_DEBUG_TOTAL_TIME__' => get_elapsed_time($t2, get_moment())
    343340        )
Note: See TracChangeset for help on using the changeset viewer.