Permalink
Browse files

Add missing config file, remove php 5.4 support.

  • Loading branch information...
1 parent 1d2929e commit 7b174e6ce866deaa53a913bf3fa9851342601e26 @gpasztor87 gpasztor87 committed Jan 2, 2016
View
@@ -1,7 +1,6 @@
language: php
php:
- - 5.4
- 5.5
- 5.6
- 7.0
@@ -47,7 +47,7 @@
|
*/
-$compiledPath = __DIR__.'/../storage/framework/compiled.php';
+$compiledPath = __DIR__.'/cache/compiled.php';
if (file_exists($compiledPath)) {
require $compiledPath;
@@ -0,0 +1,2 @@
+*
+!.gitignore
View
@@ -111,7 +111,7 @@
|
*/
- '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 @@
|
*/
- '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
@@ -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
@@ -44,7 +44,7 @@
'file' => [
'driver' => 'file',
- 'path' => storage_path().'/framework/cache',
+ 'path' => storage_path('framework/cache'),
],
'memcached' => [
View
@@ -200,13 +200,13 @@
'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
@@ -48,7 +48,7 @@
'sqlite' => [
'driver' => 'sqlite',
- 'database' => 'storage/database.sqlite',
+ 'database' => database_path('database.sqlite'),
'prefix' => '',
],
@@ -45,7 +45,7 @@
'local' => [
'driver' => 'local',
- 'root' => storage_path().'/app',
+ 'root' => storage_path('app'),
],
's3' => [
View
@@ -57,7 +57,7 @@
|
*/
- 'files' => storage_path().'/framework/sessions',
+ 'files' => storage_path('framework/sessions'),
/*
|--------------------------------------------------------------------------
@@ -96,7 +96,7 @@
|
*/
- 'pluginsPathLocal' => base_path().'/tests/fixtures/plugins',
+ 'pluginsPathLocal' => base_path('tests/fixtures/plugins'),
/*
|--------------------------------------------------------------------------
@@ -107,6 +107,6 @@
|
*/
- 'themesPathLocal' => base_path().'/tests/fixtures/themes',
+ 'themesPathLocal' => base_path('tests/fixtures/themes'),
];
View
@@ -28,6 +28,6 @@
|
*/
- 'compiled' => realpath(storage_path().'/framework/views'),
+ 'compiled' => realpath(storage_path('framework/views')),
];

0 comments on commit 7b174e6

Please sign in to comment.