Changeset 21527 for branches/version-2_12-dev/data/class/SC_CheckError.php
- Timestamp:
- 2012/02/17 02:42:21 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_CheckError.php
r21515 r21527 680 680 // value[0] = 項目名 value[1] = 判定対象URL 681 681 function URL_CHECK($value) { 682 if (isset($this->arrErr[$value[1]])) {683 return; 684 } 685 if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("@^https?://+($|[a-zA-Z0-9_~=:&\?\.\/-])+$@i", $this->arrParam[$value[1]])) {682 if (isset($this->arrErr[$value[1]])) { 683 return; 684 } 685 if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("@^https?://+($|[a-zA-Z0-9_~=:&\?\.\/-])+$@i", $this->arrParam[$value[1]])) { 686 686 $this->arrErr[$value[1]] = '※ ' . $value[0] . 'を正しく入力してください。<br />'; 687 687 }
Note: See TracChangeset
for help on using the changeset viewer.
