Show
Ignore:
Timestamp:
06/21/11 10:00:39 (2 years ago)
Author:
cljosse
Message:

[extensions] Autosize fix compatibility with gmaps

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/autosize.inc.php

    r11442 r11461  
    2020// | USA.                                                                  | 
    2121// +-----------------------------------------------------------------------+ 
    22 if (!defined('AUTOSIZE_PATH'))  
    23 define( 
    24   'AUTOSIZE_PATH', 
    25    PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/' 
    26 ); 
    27 if (!defined('ROOT_URL'))  
    28 define(  'ROOT_URL',  get_root_url().'/' ); 
    29   
    30 if (!defined('AUTOSIZE_PATH_ABS'))  
    31 define( 
    32   'AUTOSIZE_PATH_ABS',  realpath(AUTOSIZE_PATH)."/" 
    33 ); 
    34  
    35  
    3622class autosize_controler { 
    3723 //============================================================ 
     
    5743    else  
    5844      $file =AUTOSIZE_PATH_ABS.'template/header_2_2.tpl' ; 
    59     
    60 ; 
    61  
    6245    $template->set_filenames(array('autosize_init_header'=> $file )); 
    6346    $template->set_filenames(array('autosize_init'=>AUTOSIZE_PATH_ABS. "template/conflit.tpl" ) );