mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Working on the default app structure.
This commit is contained in:
parent
a5f4e74889
commit
9aae50e501
@ -1,3 +0,0 @@
|
||||
# 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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user