- Timestamp:
- 2007/04/04 00:16:03 (19 years ago)
- File:
-
- 1 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 }
Note: See TracChangeset
for help on using the changeset viewer.
