Changeset 2270 for temp/trunk
- Timestamp:
- 2006/08/28 13:26:28 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/class/SC_View.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_View.php
r2264 r2270 9 9 10 10 // ¥³¥ó¥¹¥È¥é¥¯¥¿ 11 function SC_View( ) {11 function SC_View($siteinfo = true) { 12 12 global $SC_VIEW_PHP_DIR; 13 13 … … 38 38 $this->time_start = time(); 39 39 } 40 41 // ¥µ¥¤¥È¾ðÊó¤ò³ä¤êÅö¤Æ¤ë42 $objSiteInfo = new SC_SiteInfo();43 $this->arrInfo['arrSiteInfo'] = $objSiteInfo->data;44 45 // ÅÔÆ»Éܸ©Ì¾¤òÊÑ´¹46 global $arrPref;47 $this->arrInfo['arrSiteInfo']['pref'] = $arrPref[$arrInfo['arrSiteInfo']['pref']];48 49 40 } 50 41 … … 81 72 $this->_smarty->assign($key, $value); 82 73 } 74 75 83 76 if($siteinfo) { 84 77 if(!defined('LOAD_SITEINFO')) { 85 // ¥µ¥¤¥È¾ðÊó¤ò ³ä¤êÅö¤Æ¤ë78 // ¥µ¥¤¥È¾ðÊó¤ò¼èÆÀ¤¹¤ë 86 79 $objSiteInfo = new SC_SiteInfo(); 87 80 $arrInfo['arrSiteInfo'] = $objSiteInfo->data; … … 91 84 $arrInfo['arrSiteInfo']['pref'] = $arrPref[$arrInfo['arrSiteInfo']['pref']]; 92 85 86 // ¥µ¥¤¥È¾ðÊó¤ò³ä¤êÅö¤Æ¤ë 93 87 foreach ($arrInfo as $key => $value){ 94 88 $this->_smarty->assign($key, $value); 95 89 } 90 96 91 define('LOAD_SITEINFO', 1); 97 92 }
Note: See TracChangeset
for help on using the changeset viewer.
