XPressME Integration Kit

Trac


Ignore:
Timestamp:
May 30, 2011, 10:39:25 AM (13 years ago)
Author:
toemon
Message:

言語コードの取得を@$GLOBALSxoopsConfig?language?;から$xoopsConfiglanguage?;に変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/class/langInfo_class.php

    r756 r781  
    7777        ); 
    7878         
    79         function __constructor()        //for PHP5 
     79        function __contructor() //for PHP5 
    8080    { 
    8181        $this->langInfoClass(); 
     
    8484    function langInfoClass()    //for PHP4 constructor 
    8585    { 
    86                 $this->xoops_Lang = @$GLOBALS["xoopsConfig"]['language']; 
     86        global $xoopsConfig; 
     87         
     88                $this->xoops_Lang = $xoopsConfig['language']; 
    8789                $this->wp_Lang = $this->get_wpLang(); 
    8890    } 
Note: See TracChangeset for help on using the changeset viewer.