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
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
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
21 deletions
+4
-21
application/config/application.php
+1
-3
artisan
+1
-1
laravel/laravel.php
+0
-15
paths.php
+1
-1
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
...
@@ -53,21 +53,6 @@ error_reporting(-1);
...
@@ -53,21 +53,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
* strip slashes on all input arrays if magic quotes are turned
* strip slashes on all input arrays if magic quotes are turned
...
...
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