Ignore:
Timestamp:
Feb 18, 2012, 9:46:46 PM (13 years ago)
Author:
rvelices
Message:
  • multisize thumb longest side can be smaller than the square size
  • remove unused css, shorten/optimize php called very often (at least theoretically should be faster)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/section_init.inc.php

    r12922 r13240  
    6565  // the $_GET keys are not protected in include/common.inc.php, only the values
    6666  $rewritten = pwg_db_real_escape_string($rewritten);
    67 
    6867  $page['root_path'] = PHPWG_ROOT_PATH;
     68}
     69
     70if ( strncmp($page['root_path'], './', 2) == 0 )
     71{
     72        $page['root_path'] = substr($page['root_path'], 2);
    6973}
    7074
Note: See TracChangeset for help on using the changeset viewer.