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
2758b4c1
Commit
2758b4c1
authored
Nov 13, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some small refactoring and bug fixing.
parent
04f76612
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
laravel/auth.php
+2
-1
laravel/cookie.php
+1
-1
laravel/form.php
+1
-1
laravel/laravel.php
+1
-3
No files found.
laravel/auth.php
View file @
2758b4c1
...
...
@@ -192,4 +192,4 @@ class Auth {
IoC
::
core
(
'session'
)
->
forget
(
Auth
::
user_key
);
}
}
}
\ No newline at end of file
laravel/cookie.php
View file @
2758b4c1
...
...
@@ -114,7 +114,7 @@ class Cookie {
*/
protected
static
function
hash
(
$name
,
$value
)
{
return
sha1
(
$name
.
$value
.
Config
::
get
(
'application.key'
)
);
return
sha1
(
$name
.
$value
.
Config
::
$items
[
'application'
][
'key'
]
);
}
/**
...
...
laravel/form.php
View file @
2758b4c1
...
...
@@ -387,7 +387,7 @@ class Form {
*/
protected
static
function
option
(
$value
,
$display
,
$selected
)
{
$selected
=
(
$value
==
=
$selected
)
?
'selected'
:
null
;
$selected
=
(
$value
==
$selected
)
?
'selected'
:
null
;
$attributes
=
array
(
'value'
=>
HTML
::
entities
(
$value
),
'selected'
=>
$selected
);
...
...
laravel/laravel.php
View file @
2758b4c1
...
...
@@ -177,15 +177,13 @@ Input::$input = $input;
*/
Routing\Filter
::
register
(
require
APP_PATH
.
'filters'
.
EXT
);
list
(
$uri
,
$method
)
=
array
(
Request
::
uri
(),
Request
::
method
());
$loader
=
new
Routing\Loader
(
APP_PATH
,
ROUTE_PATH
);
$router
=
new
Routing\Router
(
$loader
,
CONTROLLER_PATH
);
IoC
::
instance
(
'laravel.routing.router'
,
$router
);
Request
::
$route
=
$router
->
route
(
$method
,
$uri
);
Request
::
$route
=
$router
->
route
(
Request
::
method
(),
Request
::
uri
()
);
if
(
!
is_null
(
Request
::
$route
))
{
...
...
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