Changeset 2259 for temp/trunk


Ignore:
Timestamp:
2006/08/28 13:18:04 (20 years ago)
Author:
naka
Message:

* empty log message *

Location:
temp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_View.php

    r2249 r2259  
    8282        } 
    8383        if($siteinfo) { 
    84             // ¥µ¥¤¥È¾ðÊó¤ò³ä¤êÅö¤Æ¤ë 
    85             $objSiteInfo = new SC_SiteInfo(); 
    86             $arrInfo['arrSiteInfo'] = $objSiteInfo->data; 
    87              
    88             // ÅÔÆ»Éܸ©Ì¾¤òÊÑ´¹ 
    89             global $arrPref; 
    90             $arrInfo['arrSiteInfo']['pref'] = $arrPref[$arrInfo['arrSiteInfo']['pref']]; 
    91              
    92             foreach ($arrInfo as $key => $value){ 
    93                 $this->_smarty->assign($key, $value); 
     84            if(defined('LOAD_SITEINFO')) { 
     85                // ¥µ¥¤¥È¾ðÊó¤ò³ä¤êÅö¤Æ¤ë 
     86                $objSiteInfo = new SC_SiteInfo(); 
     87                $arrInfo['arrSiteInfo'] = $objSiteInfo->data; 
     88                 
     89                // ÅÔÆ»Éܸ©Ì¾¤òÊÑ´¹ 
     90                global $arrPref; 
     91                $arrInfo['arrSiteInfo']['pref'] = $arrPref[$arrInfo['arrSiteInfo']['pref']]; 
     92                 
     93                foreach ($arrInfo as $key => $value){ 
     94                    $this->_smarty->assign($key, $value); 
     95                } 
     96                define('LOAD_SITEINFO', 1); 
    9497            } 
    9598        }        
  • temp/trunk/html/install/index.php

    r2248 r2259  
    2424} 
    2525 
    26 $objView = new SC_UserView($INSTALL_DIR . '/templates', $INSTALL_DIR . '/temp'); 
     26$objView = new SC_InstallView($INSTALL_DIR . '/templates', $INSTALL_DIR . '/temp'); 
    2727 
    2828// ¥Ñ¥é¥á¡¼¥¿´ÉÍý¥¯¥é¥¹ 
Note: See TracChangeset for help on using the changeset viewer.