Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PHP
laravel-upload
Commits
c0198bb4
Commit
c0198bb4
authored
5 years ago
by
康帅杰
Browse files
Options
Download
Email Patches
Plain Diff
modify servieprovider file and
parent
7f03cac4
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Providers/UploadServiceProvider.php
+3
-3
src/Providers/UploadServiceProvider.php
with
3 additions
and
3 deletions
+3
-3
src/Providers/UploadServiceProvider.php
View file @
c0198bb4
...
...
@@ -19,7 +19,7 @@ class UploadServiceProvider extends ServiceProvider
public
function
loadCommands
(){
$this
->
commands
([
Console\UploadMakeCommand
::
class
,
\
Yjtec\Upload\
Console\UploadMakeCommand
::
class
,
]);
}
...
...
@@ -39,13 +39,13 @@ class UploadServiceProvider extends ServiceProvider
public
function
registerRule
(){
$this
->
app
->
singleton
(
'upload.rule'
,
function
(
$app
)
{
return
new
Rule
(
config
(
'upload'
));
return
new
\
Yjtec\Upload\
Rule
(
config
(
'upload'
));
});
}
public
function
registerUpload
(){
$this
->
app
->
singleton
(
'upload'
,
function
(
$app
){
return
new
Upload
(
config
(
'upload'
));
return
new
\
Yjtec\Upload\
Upload
(
config
(
'upload'
));
});
}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help