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
86fa5953
Commit
86fa5953
authored
Feb 22, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set application key by default.
parent
257d917e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
21 deletions
+4
-21
application.php
application/config/application.php
+1
-3
artisan
artisan
+1
-1
laravel.php
laravel/laravel.php
+0
-15
paths.php
paths.php
+1
-1
index.php
public/index.php
+1
-1
No files found.
application/config/application.php
View file @
86fa5953
...
@@ -44,9 +44,7 @@ return array(
...
@@ -44,9 +44,7 @@ return array(
|
|
*/
*/
'key'
=>
''
,
'key'
=>
'YourSecretKeyGoesHere!'
,
'auto_key'
=>
true
,
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
...
...
artisan
View file @
86fa5953
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* Laravel - A PHP Framework For Web Artisans
* Laravel - A PHP Framework For Web Artisans
*
*
* @package Laravel
* @package Laravel
* @version 3.0.
0
* @version 3.0.
1
* @author Taylor Otwell <taylorotwell@gmail.com>
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
...
laravel/laravel.php
View file @
86fa5953
...
@@ -52,21 +52,6 @@ error_reporting(-1);
...
@@ -52,21 +52,6 @@ error_reporting(-1);
ini_set
(
'display_errors'
,
Config
::
get
(
'error.display'
));
ini_set
(
'display_errors'
,
Config
::
get
(
'error.display'
));
/**
* Determine if we need to set the application key to a very random
* string so we can provide a zero configuration installation but
* still ensure that the key is set to something random. It is
* possible to disable this feature.
*/
$auto_key
=
Config
::
get
(
'application.auto_key'
);
if
(
$auto_key
and
Config
::
get
(
'application.key'
)
==
''
)
{
ob_start
()
and
with
(
new
CLI\Tasks\Key
)
->
generate
();
ob_end_clean
();
}
/**
/**
* Even though "Magic Quotes" are deprecated in PHP 5.3, they may
* Even though "Magic Quotes" are deprecated in PHP 5.3, they may
* still be enabled on the server. To account for this, we will
* still be enabled on the server. To account for this, we will
...
...
paths.php
View file @
86fa5953
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* Laravel - A PHP Framework For Web Artisans
* Laravel - A PHP Framework For Web Artisans
*
*
* @package Laravel
* @package Laravel
* @version 3.0.
0
* @version 3.0.
1
* @author Taylor Otwell <taylorotwell@gmail.com>
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
...
public/index.php
View file @
86fa5953
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* Laravel - A PHP Framework For Web Artisans
* Laravel - A PHP Framework For Web Artisans
*
*
* @package Laravel
* @package Laravel
* @version 3.0.
0
* @version 3.0.
1
* @author Taylor Otwell <taylorotwell@gmail.com>
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
...
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