Commit 9aae50e5 authored by Taylor Otwell's avatar Taylor Otwell

Working on the default app structure.

parent a5f4e748
# Contribution Guidelines
Please submit all issues and pull requests to the [laravel/framework](http://github.com/laravel/framework) repository!
......@@ -27,9 +27,11 @@ require __DIR__.'/../vendor/autoload.php';
|
*/
if (file_exists($compiled = __DIR__.'/compiled.php'))
$compiledPath = __DIR__.'/../storage/meta/compiled.php';
if (file_exists($compiledPath))
{
require $compiled;
require $compiledPath;
}
/*
......
......@@ -65,12 +65,12 @@ return array(
|
*/
'commands' => __DIR__.'/../app/console',
'config' => __DIR__.'/../app/config',
'controllers' => __DIR__.'/../app/http/controllers',
'database' => __DIR__.'/../app/database',
'filters' => __DIR__.'/../app/http/filters',
'lang' => __DIR__.'/../app/lang',
'requests' => __DIR__.'/../app/http/requests',
'commands' => __DIR__.'/../app/Console',
'config' => __DIR__.'/../config',
'controllers' => __DIR__.'/../app/Http/Controllers',
'database' => __DIR__.'/../database',
'filters' => __DIR__.'/../app/Http/Filters',
'lang' => __DIR__.'/../lang',
'requests' => __DIR__.'/../app/Http/Requests',
);
......@@ -4,18 +4,22 @@
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"laravel/framework": "4.3.*"
"laravel/framework": "4.3.*",
"phpunit/phpunit": "~4.0"
},
"autoload": {
"classmap": [
"app/console",
"app/database",
"app/http",
"app/tests/TestCase.php"
"app/Console",
"app/Http/Controllers",
"database",
"app/Http/Filters",
"app/Providers",
"app/Http/Requests",
"tests/TestCase.php"
],
"psr-4": {
"App\\": "app/core/",
"Providers\\": "app/providers/"
"App\\": "app/Core/",
"Providers\\": "app/Providers/"
}
},
"scripts": {
......
......@@ -14,7 +14,15 @@ return array(
*/
'files' => array(
//
__DIR__.'/../providers/AppServiceProvider.php',
__DIR__.'/../providers/ArtisanServiceProvider.php',
__DIR__.'/../providers/ErrorServiceProvider.php',
__DIR__.'/../providers/EventServiceProvider.php',
__DIR__.'/../providers/FilterServiceProvider.php',
__DIR__.'/../providers/LogServiceProvider.php',
__DIR__.'/../providers/RouteServiceProvider.php',
),
/*
......
......@@ -13,7 +13,7 @@ return array(
|
*/
'paths' => array(__DIR__.'/../views'),
'paths' => array(app_path().'/Http/Views'),
/*
|--------------------------------------------------------------------------
......
......@@ -45,4 +45,5 @@ $app = require_once __DIR__.'/../bootstrap/start.php';
| and wonderful application we have whipped up for them.
|
*/
$app->run();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment