Changeset 1681 for trunk/login.php


Ignore:
Timestamp:
11/19/09 13:59:58 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #770 - função em common_functions,inc.php determina include p/templates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/login.php

    r1152 r1681  
    126126        } 
    127127 
    128 $login_include = $GLOBALS['phpgw_info']['server']['template_dir'] . '/login_' .  $GLOBALS['phpgw_info']['login_template_set'] . '.php'; 
    129  
    130 if(!$login_include || !file_exists($login_include)) 
    131         { 
    132                 $aux = explode('phpgwapi',$GLOBALS['phpgw_info']['server']['template_dir']); 
    133                 $login_include = $aux[0] . 'phpgwapi/templates/default/login_default.php'; 
    134         } 
    135  
    136 include($login_include); 
    137  
     128include(personalize_include_path('phpgwapi','login')); 
    138129?> 
    139130 
Note: See TracChangeset for help on using the changeset viewer.