Changeset 20417 for branches/version-2_5-dev/data
- Timestamp:
- 2011/02/26 18:32:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_FileView.php
r20345 r20417 124 124 ); 125 125 126 // 拡張子取得 127 $arrResult = split('\.', $objFormParam->getValue('file')); 128 $ext = $arrResult[count($arrResult)-1]; 126 $extension = pathinfo($objFormParam->getValue('file'), PATHINFO_EXTENSION); 129 127 130 if (!preg_match('|\./|', $file) && in_array($ext , $arrViewFile)) {128 if (!preg_match('|\./|', $file) && in_array($extension, $arrViewFile)) { 131 129 $file_check_flg = true; 132 130 }
Note: See TracChangeset
for help on using the changeset viewer.
