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
68834a47
Commit
68834a47
authored
Apr 24, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
fixing conflicts.
parents
a994c30a
8e055308
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
8 deletions
+31
-8
artisan
+1
-1
laravel/documentation/changes.md
+15
-0
laravel/html.php
+5
-5
laravel/session/drivers/driver.php
+8
-0
paths.php
+1
-1
public/index.php
+1
-1
No files found.
artisan
View file @
68834a47
...
@@ -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.1.
8
* @version 3.1.
9
* @author Taylor Otwell <taylorotwell@gmail.com>
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
...
laravel/documentation/changes.md
View file @
68834a47
...
@@ -2,8 +2,13 @@
...
@@ -2,8 +2,13 @@
## Contents
## Contents
<<<<<<< HEAD:laravel/documentation/changes.md
-
[
Laravel 3.2
](
#3.2
)
-
[
Laravel 3.2
](
#3.2
)
- [Upgrading From 3.1](#upgrade-3.2)
- [Upgrading From 3.1](#upgrade-3.2)
=======
-
[
Laravel 3.1.9
](
#3.1.9
)
-
[
Upgrading From 3.1.8
](
#upgrade-3.1.9
)
>>>>>>> master:changes.md
-
[
Laravel 3.1.8
](
#3.1.8
)
-
[
Laravel 3.1.8
](
#3.1.8
)
-
[
Upgrading From 3.1.7
](
#upgrade-3.1.8
)
-
[
Upgrading From 3.1.7
](
#upgrade-3.1.8
)
-
[
Laravel 3.1.7
](
#3.1.7
)
-
[
Laravel 3.1.7
](
#3.1.7
)
...
@@ -62,6 +67,16 @@
...
@@ -62,6 +67,16 @@
-
Replace the
**laravel**
folder.
-
Replace the
**laravel**
folder.
<a
name=
"3.1.9"
></a>
## Laravel 3.1.9
-
Fixes cookie session driver bug that caused infinite loop on some occasions.
<a
name=
"upgrade-3.1.9"
></a>
## Upgrading From 3.1.8
-
Replace the
**laravel**
folder.
<a
name=
"3.1.8"
></a>
<a
name=
"3.1.8"
></a>
## Laravel 3.1.8
## Laravel 3.1.8
...
...
laravel/html.php
View file @
68834a47
...
@@ -62,7 +62,7 @@ class HTML {
...
@@ -62,7 +62,7 @@ class HTML {
*/
*/
public
static
function
script
(
$url
,
$attributes
=
array
())
public
static
function
script
(
$url
,
$attributes
=
array
())
{
{
$url
=
static
::
entities
(
URL
::
to_asset
(
$url
));
$url
=
urlencode
(
URL
::
to_asset
(
$url
));
return
'<script src="'
.
$url
.
'"'
.
static
::
attributes
(
$attributes
)
.
'></script>'
.
PHP_EOL
;
return
'<script src="'
.
$url
.
'"'
.
static
::
attributes
(
$attributes
)
.
'></script>'
.
PHP_EOL
;
}
}
...
@@ -90,7 +90,7 @@ class HTML {
...
@@ -90,7 +90,7 @@ class HTML {
$attributes
=
$attributes
+
$defaults
;
$attributes
=
$attributes
+
$defaults
;
$url
=
static
::
entities
(
URL
::
to_asset
(
$url
));
$url
=
urlencode
(
URL
::
to_asset
(
$url
));
return
'<link href="'
.
$url
.
'"'
.
static
::
attributes
(
$attributes
)
.
'>'
.
PHP_EOL
;
return
'<link href="'
.
$url
.
'"'
.
static
::
attributes
(
$attributes
)
.
'>'
.
PHP_EOL
;
}
}
...
@@ -126,7 +126,7 @@ class HTML {
...
@@ -126,7 +126,7 @@ class HTML {
*/
*/
public
static
function
link
(
$url
,
$title
,
$attributes
=
array
(),
$https
=
false
)
public
static
function
link
(
$url
,
$title
,
$attributes
=
array
(),
$https
=
false
)
{
{
$url
=
static
::
entities
(
URL
::
to
(
$url
,
$https
));
$url
=
urlencode
(
URL
::
to
(
$url
,
$https
));
return
'<a href="'
.
$url
.
'"'
.
static
::
attributes
(
$attributes
)
.
'>'
.
static
::
entities
(
$title
)
.
'</a>'
;
return
'<a href="'
.
$url
.
'"'
.
static
::
attributes
(
$attributes
)
.
'>'
.
static
::
entities
(
$title
)
.
'</a>'
;
}
}
...
@@ -157,7 +157,7 @@ class HTML {
...
@@ -157,7 +157,7 @@ class HTML {
*/
*/
public
static
function
link_to_asset
(
$url
,
$title
,
$attributes
=
array
(),
$https
=
null
)
public
static
function
link_to_asset
(
$url
,
$title
,
$attributes
=
array
(),
$https
=
null
)
{
{
$url
=
static
::
entities
(
URL
::
to_asset
(
$url
,
$https
));
$url
=
urlencode
(
URL
::
to_asset
(
$url
,
$https
));
return
'<a href="'
.
$url
.
'"'
.
static
::
attributes
(
$attributes
)
.
'>'
.
static
::
entities
(
$title
)
.
'</a>'
;
return
'<a href="'
.
$url
.
'"'
.
static
::
attributes
(
$attributes
)
.
'>'
.
static
::
entities
(
$title
)
.
'</a>'
;
}
}
...
@@ -267,7 +267,7 @@ class HTML {
...
@@ -267,7 +267,7 @@ class HTML {
{
{
$attributes
[
'alt'
]
=
$alt
;
$attributes
[
'alt'
]
=
$alt
;
return
'<img src="'
.
static
::
entities
(
URL
::
to_asset
(
$url
))
.
'"'
.
static
::
attributes
(
$attributes
)
.
'>'
;
return
'<img src="'
.
urlencode
(
URL
::
to_asset
(
$url
))
.
'"'
.
static
::
attributes
(
$attributes
)
.
'>'
;
}
}
/**
/**
...
...
laravel/session/drivers/driver.php
View file @
68834a47
...
@@ -55,6 +55,14 @@ abstract class Driver {
...
@@ -55,6 +55,14 @@ abstract class Driver {
{
{
$session
=
array
();
$session
=
array
();
// If the driver is an instance of the Cookie driver, we are able to
// just return any string since the Cookie driver has no real idea
// of a server side persisted session with an ID.
if
(
$this
instanceof
Cookie
)
{
return
Str
::
random
(
40
);
}
// We'll containue generating random IDs until we find an ID that is
// We'll containue generating random IDs until we find an ID that is
// not currently assigned to a session. This is almost definitely
// not currently assigned to a session. This is almost definitely
// going to happen on the first iteration.
// going to happen on the first iteration.
...
...
paths.php
View file @
68834a47
...
@@ -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.1.
8
* @version 3.1.
9
* @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 @
68834a47
...
@@ -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.1.
8
* @version 3.1.
9
* @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