mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Add missing config file, remove php 5.4 support.
This commit is contained in:
parent
1d2929e2f0
commit
7b174e6ce8
@ -1,7 +1,6 @@
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 5.4
|
||||
- 5.5
|
||||
- 5.6
|
||||
- 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)) {
|
||||
require $compiledPath;
|
||||
|
2
bootstrap/cache/.gitignore
vendored
Normal file
2
bootstrap/cache/.gitignore
vendored
Normal file
@ -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
|
||||
|
||||
@ -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
52
config/broadcasting.php
Normal 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',
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
];
|
@ -44,7 +44,7 @@ return [
|
||||
|
||||
'file' => [
|
||||
'driver' => 'file',
|
||||
'path' => storage_path().'/framework/cache',
|
||||
'path' => storage_path('framework/cache'),
|
||||
],
|
||||
|
||||
'memcached' => [
|
||||
|
@ -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'),
|
||||
],
|
||||
|
||||
],
|
||||
|
@ -48,7 +48,7 @@ return [
|
||||
|
||||
'sqlite' => [
|
||||
'driver' => 'sqlite',
|
||||
'database' => 'storage/database.sqlite',
|
||||
'database' => database_path('database.sqlite'),
|
||||
'prefix' => '',
|
||||
],
|
||||
|
||||
|
@ -45,7 +45,7 @@ return [
|
||||
|
||||
'local' => [
|
||||
'driver' => 'local',
|
||||
'root' => storage_path().'/app',
|
||||
'root' => storage_path('app'),
|
||||
],
|
||||
|
||||
'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…
x
Reference in New Issue
Block a user