Ignore:
Timestamp:
04/27/10 18:28:15 (14 years ago)
Author:
rodsouza
Message:

Ticket #1044 - Corrigindo problema com caminho.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.common.inc.php

    r2640 r2644  
    13301330                                $cssObj = new css(); 
    13311331 
    1332                                 $path = $GLOBALS[ 'phpgw_info' ][ 'server' ][ 'webserver_url' ]; 
    13331332                                $template = $GLOBALS[ 'phpgw_info' ][ 'server' ][ 'template_set' ]; 
    13341333 
    1335                                 $cssObj->validate_file($path."phpgwapi/templates/".$template."/css/base.css"); 
    1336                                 $cssObj->validate_file($path."phpgwapi/templates/".$template."/css/".$GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'theme' ].".css"); 
    1337                                 $cssObj->validate_file($path.$GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'currentapp' ]."/templates/".$template."/css/".$GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'theme' ].".css"); 
    1338                                 $cssObj->validate_file($path.$GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'currentapp' ]."/templates/".$template."/css/app.css"); 
     1334                                $cssObj->validate_file( "phpgwapi/templates/".$template."/css/base.css"); 
     1335                                $cssObj->validate_file( "phpgwapi/templates/".$template."/css/".$GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'theme' ].".css"); 
     1336                                $cssObj->validate_file( $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'currentapp' ]."/templates/".$template."/css/".$GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'theme' ].".css"); 
     1337                                $cssObj->validate_file( $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'currentapp' ]."/templates/".$template."/css/app.css"); 
    13391338                                 
    13401339                                $tpl -> set_var( 'css_file',  $cssObj->get_css() ); 
Note: See TracChangeset for help on using the changeset viewer.