Skip to content

Commit aba802e

Browse files
author
daniel-abbey
committed
Merge pull request #708 from LearningLocker/develop
v1.8.0
2 parents a362b17 + 0790a36 commit aba802e

File tree

19 files changed

+53
-143
lines changed

19 files changed

+53
-143
lines changed

.env.local.php

Lines changed: 0 additions & 6 deletions
This file was deleted.

.env.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
return [
44
'LOCAL_FILESTORE' => __DIR__.'/uploads',
5-
'SESSION_FILESTORE' => __DIR__.'/app/storage/sessions'
5+
'SESSION_FILESTORE' => __DIR__.'/app/storage/sessions',
6+
'LOG_FILESTORE' => __DIR__.'/app/storage/logs/laravel.log',
67
];

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ Thumbs.db
77
/app/config/ht2
88
/app/config/production
99
/app/config/staging
10+
/app/config/local/*.php

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.1
1+
1.8.0

app/config/app.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@
117117
'Barryvdh\Cors\CorsServiceProvider',
118118
'JsLocalization\JsLocalizationServiceProvider',
119119
'locker\RequestServiceProvider',
120-
'Philo\Translate\TranslateServiceProvider'
121-
120+
'Philo\Translate\TranslateServiceProvider',
121+
'Jenssegers\Mongodb\Auth\ReminderServiceProvider',
122122
),
123123

124124
/*

app/config/database.php

Lines changed: 9 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,17 @@
11
<?php
22

3-
return array(
4-
5-
/*
6-
|--------------------------------------------------------------------------
7-
| PDO Fetch Style
8-
|--------------------------------------------------------------------------
9-
|
10-
| By default, database results will be returned as instances of the PHP
11-
| stdClass object; however, you may desire to retrieve records in an
12-
| array format for simplicity. Here you can tweak the fetch style.
13-
|
14-
*/
15-
16-
'fetch' => PDO::FETCH_CLASS,
17-
18-
/*
19-
|--------------------------------------------------------------------------
20-
| Default Database Connection Name
21-
|--------------------------------------------------------------------------
22-
|
23-
| Here you may specify which of the database connections below you wish
24-
| to use as your default connection for all database work. Of course
25-
| you may use many connections at once using the Database library.
26-
|
27-
*/
28-
29-
'default' => 'mongodb',
30-
31-
/*
32-
|--------------------------------------------------------------------------
33-
| Database Connections
34-
|--------------------------------------------------------------------------
35-
|
36-
| Here are each of the database connections setup for your application.
37-
| Of course, examples of configuring each database platform that is
38-
| supported by Laravel is shown below to make development simple.
39-
|
40-
|
41-
| All database work in Laravel is done through the PHP PDO facilities
42-
| so make sure you have the driver for your particular database of
43-
| choice installed on your machine before you begin development.
44-
|
45-
*/
46-
47-
'connections' => array(
48-
49-
'mysql' => array(
50-
'driver' => 'mysql',
51-
'host' => 'localhost',
52-
'database' => 'll_staging',
53-
'username' => 'root',
54-
'password' => '',
55-
'charset' => 'utf8',
56-
'collation' => 'utf8_unicode_ci',
57-
'prefix' => '',
58-
),
59-
60-
'mongodb' => array(
3+
return [
4+
'fetch' => PDO::FETCH_CLASS,
5+
'default' => 'mongodb',
6+
'connections' => [
7+
'mongodb' => [
618
'driver' => 'mongodb',
629
'host' => 'localhost',
6310
'port' => 27017,
6411
'username' => '',
6512
'password' => '',
66-
'database' => 'learninglocker' // Default name (removing this makes Travis fail).
67-
),
68-
69-
),
70-
71-
/*
72-
|--------------------------------------------------------------------------
73-
| Migration Repository Table
74-
|--------------------------------------------------------------------------
75-
|
76-
| This table keeps track of all the migrations that have already run for
77-
| your application. Using this information, we can determine which of
78-
| the migrations on disk haven't actually been run in the database.
79-
|
80-
*/
81-
13+
'database' => 'll_staging' // Default name (removing this makes Travis fail).
14+
],
15+
],
8216
'migrations' => 'migrations',
83-
84-
/*
85-
|--------------------------------------------------------------------------
86-
| Redis Databases
87-
|--------------------------------------------------------------------------
88-
|
89-
| Redis is an open source, fast, and advanced key-value store that also
90-
| provides a richer set of commands than a typical key-value systems
91-
| such as APC or Memcached. Laravel makes it easy to dig right in.
92-
|
93-
*/
94-
95-
'redis' => array(
96-
97-
'cluster' => false,
98-
99-
'default' => array(
100-
'host' => '127.0.0.1',
101-
'port' => 6379,
102-
'database' => 0,
103-
),
104-
105-
),
106-
107-
);
17+
];

app/config/local/.gitkeep

Whitespace-only changes.

app/config/local/app.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

app/config/local/database.php

Lines changed: 0 additions & 14 deletions
This file was deleted.

app/config/local/mail.php

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)