Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
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
Yeray Santana Hualde
syncEnrollments
Commits
5fa78819
Commit
5fa78819
authored
May 03, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of github.com:laravel/laravel into develop
parents
295c3b80
11f08fb7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
4 deletions
+16
-4
bundle.php
laravel/bundle.php
+1
-1
core.php
laravel/core.php
+1
-1
file.php
laravel/file.php
+2
-2
input.php
laravel/input.php
+12
-0
No files found.
laravel/bundle.php
View file @
5fa78819
...
...
@@ -64,7 +64,7 @@ class Bundle {
static
::
$bundles
[
$bundle
]
=
array_merge
(
$defaults
,
$config
);
// It is possible for the develo
ep
r to specify auto-loader mappings
// It is possible for the develo
pe
r to specify auto-loader mappings
// directly on the bundle registration. This provides a convenient
// way to register mappings withuot a bootstrap.
if
(
isset
(
$config
[
'autoloads'
]))
...
...
laravel/core.php
View file @
5fa78819
...
...
@@ -210,7 +210,7 @@ if (defined('STDIN'))
|--------------------------------------------------------------------------
|
| Finally we will register all of the bundles that have been defined for
| the application. None of them will be started
, yet
but will be setup
| the application. None of them will be started
yet,
but will be setup
| so that they may be started by the developer at any time.
|
*/
...
...
laravel/file.php
View file @
5fa78819
...
...
@@ -61,11 +61,11 @@ class File {
* Delete a file.
*
* @param string $path
* @return
void
* @return
bool
*/
public
static
function
delete
(
$path
)
{
if
(
static
::
exists
(
$path
))
@
unlink
(
$path
);
if
(
static
::
exists
(
$path
))
return
@
unlink
(
$path
);
}
/**
...
...
laravel/input.php
View file @
5fa78819
...
...
@@ -197,6 +197,18 @@ class Input {
return
array_get
(
$_FILES
,
$key
,
$default
);
}
/**
* Determine if the uploaded data contains a file.
*
* @param string $key
* @return bool
*/
public
static
function
has_file
(
$key
)
{
$file
=
static
::
file
(
$key
);
return
!
empty
(
$file
[
'tmp_name'
]);
}
/**
* Move an uploaded file to permanent storage.
*
...
...
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