Add missing config file, remove php 5.4 support.

This commit is contained in:
Pásztor Gábor 2016-01-02 15:41:27 +01:00
parent 1d2929e2f0
commit 7b174e6ce8
12 changed files with 66 additions and 13 deletions

View File

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

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')),
];