Add missing config file, remove php 5.4 support.
This commit is contained in:
parent
1d2929e2f0
commit
7b174e6ce8
|
|
@ -1,7 +1,6 @@
|
||||||
language: php
|
language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.4
|
|
||||||
- 5.5
|
- 5.5
|
||||||
- 5.6
|
- 5.6
|
||||||
- 7.0
|
- 7.0
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ require __DIR__.'/../vendor/autoload.php';
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$compiledPath = __DIR__.'/../storage/framework/compiled.php';
|
$compiledPath = __DIR__.'/cache/compiled.php';
|
||||||
|
|
||||||
if (file_exists($compiledPath)) {
|
if (file_exists($compiledPath)) {
|
||||||
require $compiledPath;
|
require $compiledPath;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
||||||
|
|
@ -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
|
// '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
|
// 'Str' => 'Illuminate\Support\Str', // Example
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
],
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
];
|
||||||
|
|
@ -44,7 +44,7 @@ return [
|
||||||
|
|
||||||
'file' => [
|
'file' => [
|
||||||
'driver' => 'file',
|
'driver' => 'file',
|
||||||
'path' => storage_path().'/framework/cache',
|
'path' => storage_path('framework/cache'),
|
||||||
],
|
],
|
||||||
|
|
||||||
'memcached' => [
|
'memcached' => [
|
||||||
|
|
|
||||||
|
|
@ -200,13 +200,13 @@ return [
|
||||||
'uploads' => [
|
'uploads' => [
|
||||||
'disk' => 'local',
|
'disk' => 'local',
|
||||||
'folder' => 'uploads',
|
'folder' => 'uploads',
|
||||||
'path' => '/storage/app/uploads',
|
'path' => storage_path('app/uploads'),
|
||||||
],
|
],
|
||||||
|
|
||||||
'media' => [
|
'media' => [
|
||||||
'disk' => 'local',
|
'disk' => 'local',
|
||||||
'folder' => 'media',
|
'folder' => 'media',
|
||||||
'path' => '/storage/app/media',
|
'path' => storage_path('app/media'),
|
||||||
],
|
],
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ return [
|
||||||
|
|
||||||
'sqlite' => [
|
'sqlite' => [
|
||||||
'driver' => 'sqlite',
|
'driver' => 'sqlite',
|
||||||
'database' => 'storage/database.sqlite',
|
'database' => database_path('database.sqlite'),
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ return [
|
||||||
|
|
||||||
'local' => [
|
'local' => [
|
||||||
'driver' => 'local',
|
'driver' => 'local',
|
||||||
'root' => storage_path().'/app',
|
'root' => storage_path('app'),
|
||||||
],
|
],
|
||||||
|
|
||||||
's3' => [
|
's3' => [
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'files' => storage_path().'/framework/sessions',
|
'files' => storage_path('framework/sessions'),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -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'),
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,6 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'compiled' => realpath(storage_path().'/framework/views'),
|
'compiled' => realpath(storage_path('framework/views')),
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue