Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
e0c84a94
Commit
e0c84a94
authored
Feb 02, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaking zip provider.
parent
62ee8250
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
laravel/cli/tasks/bundle/providers/provider.php
+4
-4
storage/work/.gitignore
+3
-0
No files found.
laravel/cli/tasks/bundle/providers/provider.php
View file @
e0c84a94
...
...
@@ -22,9 +22,9 @@ abstract class Provider {
protected
function
zipball
(
$bundle
,
$url
)
{
// When installing a bundle from a Zip archive, we'll first clone
// down the bundle zip into the bundles "working" directory
.
//
This gives us a spot t
o all of our bundle extrations.
$target
=
path
(
'storage'
)
.
'work/
bundles/
bundle.zip'
;
// down the bundle zip into the bundles "working" directory
so
//
we have a spot to d
o all of our bundle extrations.
$target
=
path
(
'storage'
)
.
'work/
laravel-
bundle.zip'
;
File
::
put
(
$target
,
file_get_contents
(
$url
));
...
...
@@ -36,7 +36,7 @@ abstract class Provider {
// into the working directory. By convention, we expect the
// archive to contain one root directory, and all of the
// bundle contents should be stored in that directory.
$zip
->
extractTo
(
path
(
'storage'
)
.
'work
/bundles
'
);
$zip
->
extractTo
(
path
(
'storage'
)
.
'work'
);
$latest
=
File
::
latest
(
dirname
(
$target
));
...
...
storage/work/.gitignore
0 → 100644
View file @
e0c84a94
*
!.gitignore
\ 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