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
6e83add7
Commit
6e83add7
authored
Feb 15, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaking key setting.
parent
82315f31
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
23 deletions
+1
-23
core.php
laravel/core.php
+0
-12
laravel.php
laravel/laravel.php
+1
-3
paths.php
paths.php
+0
-8
No files found.
laravel/core.php
View file @
6e83add7
...
@@ -64,18 +64,6 @@ if (isset($_SERVER['CLI']['ENV']))
...
@@ -64,18 +64,6 @@ if (isset($_SERVER['CLI']['ENV']))
$_SERVER
[
'LARAVEL_ENV'
]
=
$_SERVER
[
'CLI'
][
'ENV'
];
$_SERVER
[
'LARAVEL_ENV'
]
=
$_SERVER
[
'CLI'
][
'ENV'
];
}
}
/**
* Call the bootstrap Closure that was defined in the start.php
* file for the framework. This allows events and more to be
* registered extremely early in the life cycle.
*/
if
(
isset
(
$bootstrap
))
{
call_user_func
(
$bootstrap
);
unset
(
$bootstrap
);
}
/**
/**
* Register all of the core class aliases. These aliases provide a
* Register all of the core class aliases. These aliases provide a
* convenient way of working with the Laravel core classes without
* convenient way of working with the Laravel core classes without
...
...
laravel/laravel.php
View file @
6e83add7
...
@@ -57,9 +57,7 @@ ini_set('display_errors', Config::get('error.display'));
...
@@ -57,9 +57,7 @@ ini_set('display_errors', Config::get('error.display'));
* string for the developer. This provides the developer with
* string for the developer. This provides the developer with
* a zero configuration install process.
* a zero configuration install process.
*/
*/
$key
=
Config
::
get
(
'application.key'
);
if
(
Config
::
get
(
'application.key'
)
==
''
)
if
(
$key
==
''
and
Config
::
get
(
'key.auto'
))
{
{
ob_start
()
and
with
(
new
CLI\Tasks\Key
)
->
generate
();
ob_start
()
and
with
(
new
CLI\Tasks\Key
)
->
generate
();
...
...
paths.php
View file @
6e83add7
...
@@ -58,14 +58,6 @@ else
...
@@ -58,14 +58,6 @@ else
$paths
[
'public'
]
=
'public'
;
$paths
[
'public'
]
=
'public'
;
}
}
// --------------------------------------------------------------
// Define a bootstrap Closure that runs on core load.
// --------------------------------------------------------------
$bootstrap
=
function
()
{
Laravel\Config
::
set
(
'key.auto'
,
true
);
};
// --------------------------------------------------------------
// --------------------------------------------------------------
// Define each constant if it hasn't been defined.
// Define each constant if it hasn't been defined.
// --------------------------------------------------------------
// --------------------------------------------------------------
...
...
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