Changeset 12082
- Timestamp:
- 2007/04/04 00:16:03 (17 years ago)
- Location:
- branches/dev/data/downloads/module/security
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/downloads/module/security/security.php
r12081 r12082 30 30 //------------------------------------------------------------------------------------------------------- 31 31 // ÀßÄê¥Õ¥¡¥¤¥ë(data)¤Î¥Ñ¥¹¤¬¸ø³«¥Ñ¥¹¤Ç¤Ê¤¤¤«³Îǧ¤¹¤ë 32 function sfCheck DataPath() {32 function sfCheckOpenData() { 33 33 // ¥É¥¥å¥á¥ó¥È¥ë¡¼¥È¤Î¥Ñ¥¹¤ò¿ä¬¤¹¤ë¡£ 34 34 $doc_root = ereg_replace(URL_DIR . "$","/",HTML_PATH); 35 $arrResult['title'] = "ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÊݸ¥Ñ¥¹";36 37 35 $data_path = realpath(DATA_PATH); 38 36 39 $arrResult['result'] = $data_path; 40 41 37 if(ereg("^".$doc_root, $data_path)) { 38 $arrResult['result'] = "¡ß"; 39 $arrResult['detail'] = "¸ø³«"; 40 } else { 41 $arrResult['result'] = "¡û"; 42 $arrResult['detail'] = "¸ø³«¤µ¤ì¤Æ¤¤¤ë²ÄǽÀ¤ÏÄ㤤¤Ç¤¹¡£"; 43 } 44 45 $arrResult['title'] = "ÀßÄê¥Õ¥¡¥¤¥ë¤ÎÊݸ¥Ñ¥¹"; 42 46 return $arrResult; 43 47 } -
branches/dev/data/downloads/module/security/security.tpl
r12077 r12082 73 73 <table width="442" border="0" cellspacing="1" cellpadding="5" summary=" "> 74 74 <tr bgcolor="#f2f1ec" align="center" class="fs12n"> 75 <td width="140">¥Á¥§¥Ã¥¯ÆâÍÆ</td> 76 <td width="300">·ë²Ì</td> 75 <td width="120">¥Á¥§¥Ã¥¯ÆâÍÆ</td> 76 <td width="20">·ë²Ì</td> 77 <td width="300">¾ÜºÙ</td> 77 78 </tr> 78 79 <!--{section name=i loop=$arrList}--> … … 80 81 <td bgcolor="#ffffff"><!--{$arrList[i].title}--></td> 81 82 <td bgcolor="#ffffff"><!--{$arrList[i].result}--></td> 83 <td bgcolor="#ffffff"><!--{$arrList[i].detail}--></td> 82 84 </tr> 83 85 <!--{/section}-->
Note: See TracChangeset
for help on using the changeset viewer.