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
91e3e3dd
Commit
91e3e3dd
authored
Sep 26, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working on bootstrap comments.
parent
79c58652
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
core.php
laravel/bootstrap/core.php
+11
-11
No files found.
laravel/bootstrap/core.php
View file @
91e3e3dd
...
@@ -27,9 +27,8 @@ define('EXT', '.php');
...
@@ -27,9 +27,8 @@ define('EXT', '.php');
define
(
'BLADE_EXT'
,
'.blade.php'
);
define
(
'BLADE_EXT'
,
'.blade.php'
);
/**
/**
* Load the classes that can't be resolved through the auto-loader.
* Load the classes that can't be resolved through the auto-loader. These are typically classes
* Typically, these are classes that are used by the auto-loader
* that are used by the auto-loader or configuration classes, and therefore cannot be auto-loaded.
* or configuration classes.
*/
*/
require
SYS_PATH
.
'facades'
.
EXT
;
require
SYS_PATH
.
'facades'
.
EXT
;
require
SYS_PATH
.
'config'
.
EXT
;
require
SYS_PATH
.
'config'
.
EXT
;
...
@@ -37,7 +36,10 @@ require SYS_PATH.'loader'.EXT;
...
@@ -37,7 +36,10 @@ require SYS_PATH.'loader'.EXT;
require
SYS_PATH
.
'arr'
.
EXT
;
require
SYS_PATH
.
'arr'
.
EXT
;
/**
/**
* Determine the application environment. The environment is typically
* Determine the application environment. The environment is typically set by an environment
* variable on the server, as this provides the most accident-proof method of handling
* application environments. However, the environment could be manually set by the developer
* in the front controller if access to the environment variables is not available.
* set by an environment variable on the server.
* set by an environment variable on the server.
*/
*/
$environment
=
(
isset
(
$_SERVER
[
'LARAVEL_ENV'
]))
?
$_SERVER
[
'LARAVEL_ENV'
]
:
null
;
$environment
=
(
isset
(
$_SERVER
[
'LARAVEL_ENV'
]))
?
$_SERVER
[
'LARAVEL_ENV'
]
:
null
;
...
@@ -52,10 +54,9 @@ if ( ! is_null($environment)) $configs[] = CONFIG_PATH.$environment.'/';
...
@@ -52,10 +54,9 @@ if ( ! is_null($environment)) $configs[] = CONFIG_PATH.$environment.'/';
Config
::
$paths
=
$configs
;
Config
::
$paths
=
$configs
;
/**
/**
* Bootstrap the application inversion of control (IoC) container.
* Bootstrap the application inversion of control (IoC) container. The container provides the
* The container provides the convenient resolution of objects and
* convenient resolution of objects and their dependencies, allowing for flexibility and
* their dependencies, allowing for flexibility and testability
* testability within the framework and application.
* within the framework.
*/
*/
require
SYS_PATH
.
'container'
.
EXT
;
require
SYS_PATH
.
'container'
.
EXT
;
...
@@ -64,9 +65,8 @@ $container = new Container(Config::get('container'));
...
@@ -64,9 +65,8 @@ $container = new Container(Config::get('container'));
IoC
::
$container
=
$container
;
IoC
::
$container
=
$container
;
/**
/**
* Register the application auto-loader. The auto-loader is responsible
* Register the application auto-loader. The auto-loader is responsible for the lazy-loading
* for the lazy-loading of all of the Laravel core classes, as well as
* of all of the Laravel core classes, as well as the developer created libraries and models.
* the developer created libraries and models.
*/
*/
spl_autoload_register
(
array
(
'Laravel\\Loader'
,
'load'
));
spl_autoload_register
(
array
(
'Laravel\\Loader'
,
'load'
));
...
...
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