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
0dc43490
Commit
0dc43490
authored
Nov 11, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved functions to helpers file.
parent
c67a010c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
core.php
laravel/bootstrap/core.php
+1
-1
helpers.php
laravel/helpers.php
+2
-2
No files found.
laravel/bootstrap/core.php
View file @
0dc43490
...
@@ -78,4 +78,4 @@ spl_autoload_register(array('Laravel\\Autoloader', 'load'));
...
@@ -78,4 +78,4 @@ spl_autoload_register(array('Laravel\\Autoloader', 'load'));
* Define a few global convenience functions to make our lives as
* Define a few global convenience functions to make our lives as
* Laravel PHP developers a little more easy and enjoyable.
* Laravel PHP developers a little more easy and enjoyable.
*/
*/
require
'functions'
.
EXT
;
require
SYS_PATH
.
'helpers'
.
EXT
;
\ No newline at end of file
\ No newline at end of file
laravel/
bootstrap/function
s.php
→
laravel/
helper
s.php
View file @
0dc43490
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
*/
*/
function
e
(
$value
)
function
e
(
$value
)
{
{
return
HTML
::
entities
(
$value
);
return
Laravel\
HTML
::
entities
(
$value
);
}
}
/**
/**
...
@@ -23,5 +23,5 @@ function e($value)
...
@@ -23,5 +23,5 @@ function e($value)
*/
*/
function
__
(
$key
,
$replacements
=
array
(),
$language
=
null
)
function
__
(
$key
,
$replacements
=
array
(),
$language
=
null
)
{
{
return
Lang
::
line
(
$key
,
$replacements
,
$language
);
return
La
ravel\La
ng
::
line
(
$key
,
$replacements
,
$language
);
}
}
\ No newline at end of file
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