Merge pull request #1678 from gpasztor87/stable

Add missing config file, remove php 5.4 support.
This commit is contained in:
Samuel Georges 2016-01-04 07:25:41 +11:00
commit a7af2efd62
15 changed files with 150 additions and 95 deletions

View File

@ -1,7 +1,6 @@
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0

View File

@ -27,18 +27,18 @@ $app = new October\Rain\Foundation\Application(
*/
$app->singleton(
'Illuminate\Contracts\Http\Kernel',
'October\Rain\Foundation\Http\Kernel'
Illuminate\Contracts\Http\Kernel::class,
October\Rain\Foundation\Http\Kernel::class
);
$app->singleton(
'Illuminate\Contracts\Console\Kernel',
'October\Rain\Foundation\Console\Kernel'
Illuminate\Contracts\Console\Kernel::class,
October\Rain\Foundation\Console\Kernel::class
);
$app->singleton(
'Illuminate\Contracts\Debug\ExceptionHandler',
'October\Rain\Foundation\Exception\Handler'
Illuminate\Contracts\Debug\ExceptionHandler::class,
October\Rain\Foundation\Exception\Handler::class
);
/*

View File

@ -47,7 +47,7 @@ require __DIR__.'/../vendor/autoload.php';
|
*/
$compiledPath = __DIR__.'/../storage/framework/compiled.php';
$compiledPath = __DIR__.'/cache/compiled.php';
if (file_exists($compiledPath)) {
require $compiledPath;

2
bootstrap/cache/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore

View File

@ -111,7 +111,7 @@ return [
|
*/
'providers' => array_merge(include(base_path().'/modules/system/providers.php'), [
'providers' => array_merge(include(base_path('modules/system/providers.php')), [
// 'Illuminate\Html\HtmlServiceProvider', // Example
@ -129,7 +129,7 @@ return [
|
*/
'aliases' => array_merge(include(base_path().'/modules/system/aliases.php'), [
'aliases' => array_merge(include(base_path('modules/system/aliases.php')), [
// 'Str' => 'Illuminate\Support\Str', // Example

52
config/broadcasting.php Normal file
View File

@ -0,0 +1,52 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Broadcaster
|--------------------------------------------------------------------------
|
| This option controls the default broadcaster that will be used by the
| framework when an event needs to be broadcast. You may set this to
| any of the connections defined in the "connections" array below.
|
*/
'default' => 'pusher',
/*
|--------------------------------------------------------------------------
| Broadcast Connections
|--------------------------------------------------------------------------
|
| Here you may define all of the broadcast connections that will be used
| to broadcast events to other systems or over websockets. Samples of
| each available type of connection are provided inside this array.
|
*/
'connections' => [
'pusher' => [
'driver' => 'pusher',
'key' => '',
'secret' => '',
'app_id' => '',
'options' => [
//
],
],
'redis' => [
'driver' => 'redis',
'connection' => 'default',
],
'log' => [
'driver' => 'log',
],
],
];

View File

@ -44,7 +44,7 @@ return [
'file' => [
'driver' => 'file',
'path' => storage_path().'/framework/cache',
'path' => storage_path('framework/cache'),
],
'memcached' => [

View File

@ -200,13 +200,13 @@ return [
'uploads' => [
'disk' => 'local',
'folder' => 'uploads',
'path' => '/storage/app/uploads',
'path' => storage_path('app/uploads'),
],
'media' => [
'disk' => 'local',
'folder' => 'media',
'path' => '/storage/app/media',
'path' => storage_path('app/media'),
],
],

View File

@ -48,7 +48,7 @@ return [
'sqlite' => [
'driver' => 'sqlite',
'database' => 'storage/database.sqlite',
'database' => database_path('database.sqlite'),
'prefix' => '',
],

View File

@ -45,7 +45,7 @@ return [
'local' => [
'driver' => 'local',
'root' => storage_path().'/app',
'root' => storage_path('app'),
],
's3' => [

View File

@ -57,7 +57,7 @@ return [
|
*/
'files' => storage_path().'/framework/sessions',
'files' => storage_path('framework/sessions'),
/*
|--------------------------------------------------------------------------

View File

@ -96,7 +96,7 @@ return [
|
*/
'pluginsPathLocal' => base_path().'/tests/fixtures/plugins',
'pluginsPathLocal' => base_path('tests/fixtures/plugins'),
/*
|--------------------------------------------------------------------------
@ -107,6 +107,6 @@ return [
|
*/
'themesPathLocal' => base_path().'/tests/fixtures/themes',
'themesPathLocal' => base_path('tests/fixtures/themes'),
];

View File

@ -28,6 +28,6 @@ return [
|
*/
'compiled' => realpath(storage_path().'/framework/views'),
'compiled' => realpath(storage_path('framework/views')),
];

View File

@ -5,59 +5,60 @@ return [
/*
* Laravel aliases
*/
'App' => 'Illuminate\Support\Facades\App',
'Artisan' => 'Illuminate\Support\Facades\Artisan',
'Bus' => 'Illuminate\Support\Facades\Bus',
'Cache' => 'Illuminate\Support\Facades\Cache',
'Cookie' => 'Illuminate\Support\Facades\Cookie',
'Crypt' => 'Illuminate\Support\Facades\Crypt',
'Db' => 'Illuminate\Support\Facades\DB', // Preferred
'DB' => 'Illuminate\Support\Facades\DB',
'Eloquent' => 'Illuminate\Database\Eloquent\Model',
'Event' => 'Illuminate\Support\Facades\Event',
'Hash' => 'Illuminate\Support\Facades\Hash',
'Input' => 'Illuminate\Support\Facades\Input',
'Lang' => 'Illuminate\Support\Facades\Lang',
'Log' => 'Illuminate\Support\Facades\Log',
'Mail' => 'Illuminate\Support\Facades\Mail',
'Password' => 'Illuminate\Support\Facades\Password',
'Queue' => 'Illuminate\Support\Facades\Queue',
'Redirect' => 'Illuminate\Support\Facades\Redirect',
'Redis' => 'Illuminate\Support\Facades\Redis',
'Request' => 'Illuminate\Support\Facades\Request',
'Response' => 'Illuminate\Support\Facades\Response',
'Route' => 'Illuminate\Support\Facades\Route',
'Schema' => 'Illuminate\Support\Facades\Schema',
'Session' => 'Illuminate\Support\Facades\Session',
'Storage' => 'Illuminate\Support\Facades\Storage',
'Url' => 'Illuminate\Support\Facades\URL', // Preferred
'URL' => 'Illuminate\Support\Facades\URL',
'Validator' => 'Illuminate\Support\Facades\Validator',
'View' => 'Illuminate\Support\Facades\View',
'App' => Illuminate\Support\Facades\App::class,
'Artisan' => Illuminate\Support\Facades\Artisan::class,
'Bus' => Illuminate\Support\Facades\Bus::class,
'Cache' => Illuminate\Support\Facades\Cache::class,
'Cookie' => Illuminate\Support\Facades\Cookie::class,
'Crypt' => Illuminate\Support\Facades\Crypt::class,
'Db' => Illuminate\Support\Facades\DB::class, // Preferred
'DB' => Illuminate\Support\Facades\DB::class,
'Eloquent' => Illuminate\Database\Eloquent\Model::class,
'Event' => Illuminate\Support\Facades\Event::class,
'Gate' => Illuminate\Support\Facades\Gate::class,
'Hash' => Illuminate\Support\Facades\Hash::class,
'Input' => Illuminate\Support\Facades\Input::class,
'Lang' => Illuminate\Support\Facades\Lang::class,
'Log' => Illuminate\Support\Facades\Log::class,
'Mail' => Illuminate\Support\Facades\Mail::class,
'Password' => Illuminate\Support\Facades\Password::class,
'Queue' => Illuminate\Support\Facades\Queue::class,
'Redirect' => Illuminate\Support\Facades\Redirect::class,
'Redis' => Illuminate\Support\Facades\Redis::class,
'Request' => Illuminate\Support\Facades\Request::class,
'Response' => Illuminate\Support\Facades\Response::class,
'Route' => Illuminate\Support\Facades\Route::class,
'Schema' => Illuminate\Support\Facades\Schema::class,
'Session' => Illuminate\Support\Facades\Session::class,
'Storage' => Illuminate\Support\Facades\Storage::class,
'Url' => Illuminate\Support\Facades\URL::class, // Preferred
'URL' => Illuminate\Support\Facades\URL::class,
'Validator' => Illuminate\Support\Facades\Validator::class,
'View' => Illuminate\Support\Facades\View::class,
/*
* October aliases
*/
'Model' => 'October\Rain\Database\Model',
'Block' => 'October\Rain\Support\Facades\Block',
'File' => 'October\Rain\Support\Facades\File',
'Config' => 'October\Rain\Support\Facades\Config',
'Seeder' => 'October\Rain\Database\Updates\Seeder',
'Flash' => 'October\Rain\Support\Facades\Flash',
'Form' => 'October\Rain\Support\Facades\Form',
'Html' => 'October\Rain\Support\Facades\Html',
'Http' => 'October\Rain\Support\Facades\Http',
'Str' => 'October\Rain\Support\Facades\Str',
'Markdown' => 'October\Rain\Support\Facades\Markdown',
'Yaml' => 'October\Rain\Support\Facades\Yaml',
'Ini' => 'October\Rain\Support\Facades\Ini',
'Twig' => 'October\Rain\Support\Facades\Twig',
'DbDongle' => 'October\Rain\Support\Facades\DbDongle',
'Backend' => 'Backend\Facades\Backend',
'BackendMenu' => 'Backend\Facades\BackendMenu',
'BackendAuth' => 'Backend\Facades\BackendAuth',
'AjaxException' => 'October\Rain\Exception\AjaxException',
'SystemException' => 'October\Rain\Exception\SystemException',
'ApplicationException' => 'October\Rain\Exception\ApplicationException',
'ValidationException' => 'October\Rain\Exception\ValidationException',
'Model' => October\Rain\Database\Model::class,
'Block' => October\Rain\Support\Facades\Block::class,
'File' => October\Rain\Support\Facades\File::class,
'Config' => October\Rain\Support\Facades\Config::class,
'Seeder' => October\Rain\Database\Updates\Seeder::class,
'Flash' => October\Rain\Support\Facades\Flash::class,
'Form' => October\Rain\Support\Facades\Form::class,
'Html' => October\Rain\Support\Facades\Html::class,
'Http' => October\Rain\Support\Facades\Http::class,
'Str' => October\Rain\Support\Facades\Str::class,
'Markdown' => October\Rain\Support\Facades\Markdown::class,
'Yaml' => October\Rain\Support\Facades\Yaml::class,
'Ini' => October\Rain\Support\Facades\Ini::class,
'Twig' => October\Rain\Support\Facades\Twig::class,
'DbDongle' => October\Rain\Support\Facades\DbDongle::class,
'Backend' => Backend\Facades\Backend::class,
'BackendMenu' => Backend\Facades\BackendMenu::class,
'BackendAuth' => Backend\Facades\BackendAuth::class,
'AjaxException' => October\Rain\Exception\AjaxException::class,
'SystemException' => October\Rain\Exception\SystemException::class,
'ApplicationException' => October\Rain\Exception\ApplicationException::class,
'ValidationException' => October\Rain\Exception\ValidationException::class,
];

View File

@ -5,34 +5,35 @@ return [
/*
* Laravel providers
*/
'Illuminate\Bus\BusServiceProvider',
'Illuminate\Cache\CacheServiceProvider',
'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider',
'Illuminate\Routing\ControllerServiceProvider',
'Illuminate\Cookie\CookieServiceProvider',
'Illuminate\Encryption\EncryptionServiceProvider',
'Illuminate\Foundation\Providers\FoundationServiceProvider',
'Illuminate\Hashing\HashServiceProvider',
'Illuminate\Pagination\PaginationServiceProvider',
'Illuminate\Pipeline\PipelineServiceProvider',
'Illuminate\Queue\QueueServiceProvider',
'Illuminate\Redis\RedisServiceProvider',
'Illuminate\Session\SessionServiceProvider',
'Illuminate\Validation\ValidationServiceProvider',
'Illuminate\View\ViewServiceProvider',
Illuminate\Broadcasting\BroadcastServiceProvider::class,
Illuminate\Bus\BusServiceProvider::class,
Illuminate\Cache\CacheServiceProvider::class,
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
Illuminate\Routing\ControllerServiceProvider::class,
Illuminate\Cookie\CookieServiceProvider::class,
Illuminate\Encryption\EncryptionServiceProvider::class,
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
Illuminate\Hashing\HashServiceProvider::class,
Illuminate\Pagination\PaginationServiceProvider::class,
Illuminate\Pipeline\PipelineServiceProvider::class,
Illuminate\Queue\QueueServiceProvider::class,
Illuminate\Redis\RedisServiceProvider::class,
Illuminate\Session\SessionServiceProvider::class,
Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\View\ViewServiceProvider::class,
/*
* October Rain providers
*/
'October\Rain\Foundation\Providers\ArtisanServiceProvider',
'October\Rain\Database\DatabaseServiceProvider',
'October\Rain\Filesystem\FilesystemServiceProvider',
'October\Rain\Parse\ParseServiceProvider',
'October\Rain\Html\HtmlServiceProvider',
'October\Rain\Html\UrlServiceProvider',
'October\Rain\Network\NetworkServiceProvider',
'October\Rain\Scaffold\ScaffoldServiceProvider',
'October\Rain\Flash\FlashServiceProvider',
'October\Rain\Mail\MailServiceProvider',
October\Rain\Foundation\Providers\ArtisanServiceProvider::class,
October\Rain\Database\DatabaseServiceProvider::class,
October\Rain\Filesystem\FilesystemServiceProvider::class,
October\Rain\Parse\ParseServiceProvider::class,
October\Rain\Html\HtmlServiceProvider::class,
October\Rain\Html\UrlServiceProvider::class,
October\Rain\Network\NetworkServiceProvider::class,
October\Rain\Scaffold\ScaffoldServiceProvider::class,
October\Rain\Flash\FlashServiceProvider::class,
October\Rain\Mail\MailServiceProvider::class,
];