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
9d3c3ea0
Commit
9d3c3ea0
authored
Jan 24, 2013
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak how autoloaders are called. adjust phpunit bootstrap.
parent
d1939861
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
37 deletions
+36
-37
artisan
artisan
+2
-18
autoload.php
bootstrap/autoload.php
+31
-0
phpunit.xml
phpunit.xml
+1
-1
index.php
public/index.php
+2
-18
No files found.
artisan
View file @
9d3c3ea0
...
...
@@ -3,7 +3,7 @@
/*
|--------------------------------------------------------------------------
| Register The
Composer
Auto Loader
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
...
...
@@ -13,23 +13,7 @@
|
*/
require
__DIR__
.
'/vendor/autoload.php'
;
/*
|--------------------------------------------------------------------------
| Register The Workbench Loaders
|--------------------------------------------------------------------------
|
| The Laravel workbench provides a convenient place to develop packages
| when working locally. However we will need to load in the Composer
| auto-load files for the packages so that these can be used here.
|
*/
if
(
is_dir
(
$workbench
=
__DIR__
.
'/workbench'
))
{
Illuminate\Workbench\Starter
::
start
(
$workbench
);
}
require
__DIR__
.
'/bootstrap/autoload.php'
;
/*
|--------------------------------------------------------------------------
...
...
bootstrap/autoload.php
0 → 100644
View file @
9d3c3ea0
<?php
/*
|--------------------------------------------------------------------------
| Register The Composer Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any our classes "manually". Feels great to relax.
|
*/
require
__DIR__
.
'/../vendor/autoload.php'
;
/*
|--------------------------------------------------------------------------
| Register The Workbench Loaders
|--------------------------------------------------------------------------
|
| The Laravel workbench provides a convenient place to develop packages
| when working locally. However we will need to load in the Composer
| auto-load files for the packages so that these can be used here.
|
*/
if
(
is_dir
(
$workbench
=
__DIR__
.
'/../workbench'
))
{
Illuminate\Workbench\Starter
::
start
(
$workbench
);
}
\ No newline at end of file
phpunit.xml
View file @
9d3c3ea0
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
backupGlobals=
"false"
backupStaticAttributes=
"false"
bootstrap=
"
vendor
/autoload.php"
bootstrap=
"
bootstrap
/autoload.php"
colors=
"true"
convertErrorsToExceptions=
"true"
convertNoticesToExceptions=
"true"
...
...
public/index.php
View file @
9d3c3ea0
...
...
@@ -10,7 +10,7 @@ define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The
Composer
Auto Loader
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
...
...
@@ -20,23 +20,7 @@ define('LARAVEL_START', microtime(true));
|
*/
require
__DIR__
.
'/../vendor/autoload.php'
;
/*
|--------------------------------------------------------------------------
| Register The Workbench Loaders
|--------------------------------------------------------------------------
|
| The Laravel workbench provides a convenient place to develop packages
| when working locally. However we will need to load in the Composer
| auto-load files for the packages so that these can be used here.
|
*/
if
(
is_dir
(
$workbench
=
__DIR__
.
'/../workbench'
))
{
Illuminate\Workbench\Starter
::
start
(
$workbench
);
}
require
__DIR__
.
'/../bootstrap/autoload.php'
;
/*
|--------------------------------------------------------------------------
...
...
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