Changeset 7917


Ignore:
Timestamp:
02/28/13 09:04:05 (7 years ago)
Author:
douglas
Message:

Ticket #3356 - Problema ao utilizar o expresso com IPv6

Location:
branches/2.5/phpgwapi/setup
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/phpgwapi/setup/setup.inc.php

    r7504 r7917  
    1414        $setup_info['phpgwapi']['name']      = 'phpgwapi'; 
    1515        $setup_info['phpgwapi']['title']     = 'API'; 
    16         $setup_info['phpgwapi']['version']   = '2.5.0'; 
     16        $setup_info['phpgwapi']['version']   = '2.5.1'; 
    1717        $setup_info['phpgwapi']['versions']['current_header'] = '2.5.0'; 
    1818        $setup_info['phpgwapi']['enable']    = 3; 
  • branches/2.5/phpgwapi/setup/tables_current.inc.php

    r3617 r7917  
    115115                                'sessionid' => array('type' => 'char','precision' => '32','nullable' => False), 
    116116                                'loginid' => array('type' => 'varchar','precision' => '30','nullable' => False), 
    117                                 'ip' => array('type' => 'varchar','precision' => '30','nullable' => False), 
     117                                'ip' => array('type' => 'varchar','precision' => '255','nullable' => False), 
    118118                                'li' => array('type' => 'int','precision' => '4','nullable' => False), 
    119119                                'lo' => array('type' => 'int','precision' => '4','nullable' => True,'default' => '0'), 
  • branches/2.5/phpgwapi/setup/tables_update.inc.php

    r7516 r7917  
    176176                return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    177177        } 
    178         $test[] = '2.4.2'; 
    179         function phpgwapi_upgrade2_4_2() 
    180         { 
    181                 $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.5.0'; 
    182                 return $GLOBALS['setup_info']['phpgwapi']['currentver']; 
    183         } 
     178    $test[] = '2.4.2';  
     179    function phpgwapi_upgrade2_4_2()  
     180    {  
     181            $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.5.0';  
     182            return $GLOBALS['setup_info']['phpgwapi']['currentver'];  
     183    }  
     184  
     185    $test[] = '2.5.0';  
     186        function phpgwapi_upgrade2_5_0()  
     187        {  
     188                $GLOBALS['setup_info']['phpgwapi']['currentver'] = '2.5.1';  
     189                global $setup_info,$phpgw_setup;  
     190                $phpgw_setup->oProc->query("ALTER TABLE phpgw_access_log ALTER COLUMN ip TYPE character varying(255) ");  
     191  
     192                return $GLOBALS['setup_info']['phpgwapi']['currentver'];  
     193        }  
     194      
    184195 
    185196?> 
Note: See TracChangeset for help on using the changeset viewer.