Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
2530555b
Commit
2530555b
authored
May 05, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #116 from rlerdorf/patch-1
Fix typos
parents
aac49ad9
3c83b8ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
FileValidator.php
framework/validators/FileValidator.php
+3
-4
No files found.
framework/validators/FileValidator.php
View file @
2530555b
...
...
@@ -192,11 +192,11 @@ class FileValidator extends Validator
break
;
case
UPLOAD_ERR_CANT_WRITE
:
$this
->
addError
(
$object
,
$attribute
,
$this
->
message
);
Yii
::
warning
(
'Failed to write the uploaded file to disk: '
,
$file
->
getName
(),
__METHOD__
);
Yii
::
warning
(
'Failed to write the uploaded file to disk: '
.
$file
->
getName
(),
__METHOD__
);
break
;
case
UPLOAD_ERR_EXTENSION
:
$this
->
addError
(
$object
,
$attribute
,
$this
->
message
);
Yii
::
warning
(
'File upload was stopped by some PHP extension: '
,
$file
->
getName
(),
__METHOD__
);
Yii
::
warning
(
'File upload was stopped by some PHP extension: '
.
$file
->
getName
(),
__METHOD__
);
break
;
default
:
break
;
...
...
@@ -248,4 +248,4 @@ class FileValidator extends Validator
return
(
int
)
$sizeStr
;
}
}
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment