@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |-------------------------------------------------------------------------- |
7 | 7 | | Default Filesystem Disk |
8 | 8 | |-------------------------------------------------------------------------- |
@@ -15,9 +15,9 @@ discard block |
||
15 | 15 | | |
16 | 16 | */ |
17 | 17 | |
18 | - 'default' => 'local', |
|
18 | + 'default' => 'local', |
|
19 | 19 | |
20 | - /* |
|
20 | + /* |
|
21 | 21 | |-------------------------------------------------------------------------- |
22 | 22 | | Default Cloud Filesystem Disk |
23 | 23 | |-------------------------------------------------------------------------- |
@@ -28,9 +28,9 @@ discard block |
||
28 | 28 | | |
29 | 29 | */ |
30 | 30 | |
31 | - 'cloud' => 's3', |
|
31 | + 'cloud' => 's3', |
|
32 | 32 | |
33 | - /* |
|
33 | + /* |
|
34 | 34 | |-------------------------------------------------------------------------- |
35 | 35 | | Filesystem Disks |
36 | 36 | |-------------------------------------------------------------------------- |
@@ -41,57 +41,57 @@ discard block |
||
41 | 41 | | |
42 | 42 | */ |
43 | 43 | |
44 | - 'disks' => [ |
|
44 | + 'disks' => [ |
|
45 | 45 | |
46 | - 'local' => [ |
|
47 | - 'driver' => 'local', |
|
48 | - 'root' => storage_path('app'), |
|
49 | - 'url' => '/storage/app/', |
|
50 | - ], |
|
46 | + 'local' => [ |
|
47 | + 'driver' => 'local', |
|
48 | + 'root' => storage_path('app'), |
|
49 | + 'url' => '/storage/app/', |
|
50 | + ], |
|
51 | 51 | |
52 | 52 | 'plugin' => [ |
53 | 53 | 'driver' => 'local', |
54 | 54 | 'root' => storage_path('plugin'), |
55 | - 'url' => '/storage/plugin/', |
|
55 | + 'url' => '/storage/plugin/', |
|
56 | 56 | ], |
57 | 57 | |
58 | - 'ftp' => [ |
|
59 | - 'driver' => 'ftp', |
|
60 | - 'host' => 'ftp.example.com', |
|
61 | - 'username' => 'your-username', |
|
62 | - 'password' => 'your-password', |
|
58 | + 'ftp' => [ |
|
59 | + 'driver' => 'ftp', |
|
60 | + 'host' => 'ftp.example.com', |
|
61 | + 'username' => 'your-username', |
|
62 | + 'password' => 'your-password', |
|
63 | 63 | |
64 | - // Optional FTP Settings... |
|
65 | - // 'port' => 21, |
|
66 | - // 'root' => '', |
|
67 | - // 'passive' => true, |
|
68 | - // 'ssl' => true, |
|
69 | - // 'timeout' => 30, |
|
70 | - ], |
|
64 | + // Optional FTP Settings... |
|
65 | + // 'port' => 21, |
|
66 | + // 'root' => '', |
|
67 | + // 'passive' => true, |
|
68 | + // 'ssl' => true, |
|
69 | + // 'timeout' => 30, |
|
70 | + ], |
|
71 | 71 | |
72 | - 's3' => [ |
|
73 | - 'driver' => 's3', |
|
74 | - 'key' => 'your-key', |
|
75 | - 'secret' => 'your-secret', |
|
76 | - // 'region' => 'your-region', |
|
77 | - 'bucket' => 'your-bucket', |
|
78 | - // 'url' => 'https://s3.amazonaws.com/<bucket>/' |
|
79 | - ], |
|
72 | + 's3' => [ |
|
73 | + 'driver' => 's3', |
|
74 | + 'key' => 'your-key', |
|
75 | + 'secret' => 'your-secret', |
|
76 | + // 'region' => 'your-region', |
|
77 | + 'bucket' => 'your-bucket', |
|
78 | + // 'url' => 'https://s3.amazonaws.com/<bucket>/' |
|
79 | + ], |
|
80 | 80 | |
81 | - 'rackspace' => [ |
|
82 | - 'driver' => 'rackspace', |
|
83 | - 'username' => 'your-username', |
|
84 | - 'key' => 'your-key', |
|
85 | - 'container' => 'your-container', |
|
86 | - 'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/', |
|
87 | - 'region' => 'IAD', |
|
88 | - 'url_type' => 'publicURL' |
|
89 | - ], |
|
90 | - ], |
|
81 | + 'rackspace' => [ |
|
82 | + 'driver' => 'rackspace', |
|
83 | + 'username' => 'your-username', |
|
84 | + 'key' => 'your-key', |
|
85 | + 'container' => 'your-container', |
|
86 | + 'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/', |
|
87 | + 'region' => 'IAD', |
|
88 | + 'url_type' => 'publicURL' |
|
89 | + ], |
|
90 | + ], |
|
91 | 91 | |
92 | 92 | |
93 | - 'division' => [ |
|
94 | - 'enable' => false, |
|
95 | - 'disks' => ['s3'] |
|
96 | - ], |
|
93 | + 'division' => [ |
|
94 | + 'enable' => false, |
|
95 | + 'disks' => ['s3'] |
|
96 | + ], |
|
97 | 97 | ]; |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |-------------------------------------------------------------------------- |
7 | 7 | | Default Queue Driver |
8 | 8 | |-------------------------------------------------------------------------- |
@@ -16,9 +16,9 @@ discard block |
||
16 | 16 | | |
17 | 17 | */ |
18 | 18 | |
19 | - 'default' => env('QUEUE_DRIVER', 'sync'), |
|
19 | + 'default' => env('QUEUE_DRIVER', 'sync'), |
|
20 | 20 | |
21 | - /* |
|
21 | + /* |
|
22 | 22 | |-------------------------------------------------------------------------- |
23 | 23 | | Queue Connections |
24 | 24 | |-------------------------------------------------------------------------- |
@@ -29,53 +29,53 @@ discard block |
||
29 | 29 | | |
30 | 30 | */ |
31 | 31 | |
32 | - 'connections' => [ |
|
32 | + 'connections' => [ |
|
33 | 33 | |
34 | - 'sync' => [ |
|
35 | - 'driver' => 'sync', |
|
36 | - ], |
|
34 | + 'sync' => [ |
|
35 | + 'driver' => 'sync', |
|
36 | + ], |
|
37 | 37 | |
38 | - 'database' => [ |
|
39 | - 'driver' => 'database', |
|
40 | - 'table' => 'jobs', |
|
41 | - 'queue' => 'default', |
|
42 | - 'expire' => 60, |
|
43 | - ], |
|
38 | + 'database' => [ |
|
39 | + 'driver' => 'database', |
|
40 | + 'table' => 'jobs', |
|
41 | + 'queue' => 'default', |
|
42 | + 'expire' => 60, |
|
43 | + ], |
|
44 | 44 | |
45 | - 'beanstalkd' => [ |
|
46 | - 'driver' => 'beanstalkd', |
|
47 | - 'host' => 'localhost', |
|
48 | - 'queue' => 'default', |
|
49 | - 'ttr' => 60, |
|
50 | - ], |
|
45 | + 'beanstalkd' => [ |
|
46 | + 'driver' => 'beanstalkd', |
|
47 | + 'host' => 'localhost', |
|
48 | + 'queue' => 'default', |
|
49 | + 'ttr' => 60, |
|
50 | + ], |
|
51 | 51 | |
52 | - 'sqs' => [ |
|
53 | - 'driver' => 'sqs', |
|
54 | - 'key' => 'your-public-key', |
|
55 | - 'secret' => 'your-secret-key', |
|
56 | - 'queue' => 'your-queue-url', |
|
57 | - 'region' => 'us-east-1', |
|
58 | - ], |
|
52 | + 'sqs' => [ |
|
53 | + 'driver' => 'sqs', |
|
54 | + 'key' => 'your-public-key', |
|
55 | + 'secret' => 'your-secret-key', |
|
56 | + 'queue' => 'your-queue-url', |
|
57 | + 'region' => 'us-east-1', |
|
58 | + ], |
|
59 | 59 | |
60 | - 'iron' => [ |
|
61 | - 'driver' => 'iron', |
|
62 | - 'host' => 'mq-aws-us-east-1.iron.io', |
|
63 | - 'token' => 'your-token', |
|
64 | - 'project' => 'your-project-id', |
|
65 | - 'queue' => 'your-queue-name', |
|
66 | - 'encrypt' => true, |
|
67 | - ], |
|
60 | + 'iron' => [ |
|
61 | + 'driver' => 'iron', |
|
62 | + 'host' => 'mq-aws-us-east-1.iron.io', |
|
63 | + 'token' => 'your-token', |
|
64 | + 'project' => 'your-project-id', |
|
65 | + 'queue' => 'your-queue-name', |
|
66 | + 'encrypt' => true, |
|
67 | + ], |
|
68 | 68 | |
69 | - 'redis' => [ |
|
70 | - 'driver' => 'redis', |
|
71 | - 'connection' => 'default', |
|
72 | - 'queue' => 'default', |
|
73 | - 'expire' => 60, |
|
74 | - ], |
|
69 | + 'redis' => [ |
|
70 | + 'driver' => 'redis', |
|
71 | + 'connection' => 'default', |
|
72 | + 'queue' => 'default', |
|
73 | + 'expire' => 60, |
|
74 | + ], |
|
75 | 75 | |
76 | - ], |
|
76 | + ], |
|
77 | 77 | |
78 | - /* |
|
78 | + /* |
|
79 | 79 | |-------------------------------------------------------------------------- |
80 | 80 | | Failed Queue Jobs |
81 | 81 | |-------------------------------------------------------------------------- |
@@ -86,8 +86,8 @@ discard block |
||
86 | 86 | | |
87 | 87 | */ |
88 | 88 | |
89 | - 'failed' => [ |
|
90 | - 'database' => 'mysql', 'table' => 'failed_jobs', |
|
91 | - ], |
|
89 | + 'failed' => [ |
|
90 | + 'database' => 'mysql', 'table' => 'failed_jobs', |
|
91 | + ], |
|
92 | 92 | |
93 | 93 | ]; |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |-------------------------------------------------------------------------- |
7 | 7 | | Default Session Driver |
8 | 8 | |-------------------------------------------------------------------------- |
@@ -16,9 +16,9 @@ discard block |
||
16 | 16 | | |
17 | 17 | */ |
18 | 18 | |
19 | - 'driver' => env('SESSION_DRIVER', 'file'), |
|
19 | + 'driver' => env('SESSION_DRIVER', 'file'), |
|
20 | 20 | |
21 | - /* |
|
21 | + /* |
|
22 | 22 | |-------------------------------------------------------------------------- |
23 | 23 | | Session Lifetime |
24 | 24 | |-------------------------------------------------------------------------- |
@@ -29,11 +29,11 @@ discard block |
||
29 | 29 | | |
30 | 30 | */ |
31 | 31 | |
32 | - 'lifetime' => 120, |
|
32 | + 'lifetime' => 120, |
|
33 | 33 | |
34 | - 'expire_on_close' => false, |
|
34 | + 'expire_on_close' => false, |
|
35 | 35 | |
36 | - /* |
|
36 | + /* |
|
37 | 37 | |-------------------------------------------------------------------------- |
38 | 38 | | Session Encryption |
39 | 39 | |-------------------------------------------------------------------------- |
@@ -44,9 +44,9 @@ discard block |
||
44 | 44 | | |
45 | 45 | */ |
46 | 46 | |
47 | - 'encrypt' => false, |
|
47 | + 'encrypt' => false, |
|
48 | 48 | |
49 | - /* |
|
49 | + /* |
|
50 | 50 | |-------------------------------------------------------------------------- |
51 | 51 | | Session File Location |
52 | 52 | |-------------------------------------------------------------------------- |
@@ -57,9 +57,9 @@ discard block |
||
57 | 57 | | |
58 | 58 | */ |
59 | 59 | |
60 | - 'files' => storage_path('framework/sessions'), |
|
60 | + 'files' => storage_path('framework/sessions'), |
|
61 | 61 | |
62 | - /* |
|
62 | + /* |
|
63 | 63 | |-------------------------------------------------------------------------- |
64 | 64 | | Session Database Connection |
65 | 65 | |-------------------------------------------------------------------------- |
@@ -70,9 +70,9 @@ discard block |
||
70 | 70 | | |
71 | 71 | */ |
72 | 72 | |
73 | - 'connection' => null, |
|
73 | + 'connection' => null, |
|
74 | 74 | |
75 | - /* |
|
75 | + /* |
|
76 | 76 | |-------------------------------------------------------------------------- |
77 | 77 | | Session Database Table |
78 | 78 | |-------------------------------------------------------------------------- |
@@ -83,9 +83,9 @@ discard block |
||
83 | 83 | | |
84 | 84 | */ |
85 | 85 | |
86 | - 'table' => 'sessions', |
|
86 | + 'table' => 'sessions', |
|
87 | 87 | |
88 | - /* |
|
88 | + /* |
|
89 | 89 | |-------------------------------------------------------------------------- |
90 | 90 | | Session Sweeping Lottery |
91 | 91 | |-------------------------------------------------------------------------- |
@@ -96,9 +96,9 @@ discard block |
||
96 | 96 | | |
97 | 97 | */ |
98 | 98 | |
99 | - 'lottery' => [2, 100], |
|
99 | + 'lottery' => [2, 100], |
|
100 | 100 | |
101 | - /* |
|
101 | + /* |
|
102 | 102 | |-------------------------------------------------------------------------- |
103 | 103 | | Session Cookie Name |
104 | 104 | |-------------------------------------------------------------------------- |
@@ -109,9 +109,9 @@ discard block |
||
109 | 109 | | |
110 | 110 | */ |
111 | 111 | |
112 | - 'cookie' => 'laravel_session', |
|
112 | + 'cookie' => 'laravel_session', |
|
113 | 113 | |
114 | - /* |
|
114 | + /* |
|
115 | 115 | |-------------------------------------------------------------------------- |
116 | 116 | | Session Cookie Path |
117 | 117 | |-------------------------------------------------------------------------- |
@@ -122,9 +122,9 @@ discard block |
||
122 | 122 | | |
123 | 123 | */ |
124 | 124 | |
125 | - 'path' => '/', |
|
125 | + 'path' => '/', |
|
126 | 126 | |
127 | - /* |
|
127 | + /* |
|
128 | 128 | |-------------------------------------------------------------------------- |
129 | 129 | | Session Cookie Domain |
130 | 130 | |-------------------------------------------------------------------------- |
@@ -135,9 +135,9 @@ discard block |
||
135 | 135 | | |
136 | 136 | */ |
137 | 137 | |
138 | - 'domain' => null, |
|
138 | + 'domain' => null, |
|
139 | 139 | |
140 | - /* |
|
140 | + /* |
|
141 | 141 | |-------------------------------------------------------------------------- |
142 | 142 | | HTTPS Only Cookies |
143 | 143 | |-------------------------------------------------------------------------- |
@@ -148,6 +148,6 @@ discard block |
||
148 | 148 | | |
149 | 149 | */ |
150 | 150 | |
151 | - 'secure' => false, |
|
151 | + 'secure' => false, |
|
152 | 152 | |
153 | 153 | ]; |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |-------------------------------------------------------------------------- |
7 | 7 | | View Storage Paths |
8 | 8 | |-------------------------------------------------------------------------- |
@@ -13,11 +13,11 @@ discard block |
||
13 | 13 | | |
14 | 14 | */ |
15 | 15 | |
16 | - 'paths' => [ |
|
17 | - realpath(base_path('resources/views')) |
|
18 | - ], |
|
16 | + 'paths' => [ |
|
17 | + realpath(base_path('resources/views')) |
|
18 | + ], |
|
19 | 19 | |
20 | - /* |
|
20 | + /* |
|
21 | 21 | |-------------------------------------------------------------------------- |
22 | 22 | | Compiled View Path |
23 | 23 | |-------------------------------------------------------------------------- |
@@ -28,6 +28,6 @@ discard block |
||
28 | 28 | | |
29 | 29 | */ |
30 | 30 | |
31 | - 'compiled' => realpath(storage_path('framework/views')), |
|
31 | + 'compiled' => realpath(storage_path('framework/views')), |
|
32 | 32 | |
33 | 33 | ]; |
@@ -11,7 +11,7 @@ |
||
11 | 11 | | |
12 | 12 | */ |
13 | 13 | |
14 | -$factory->define(App\User::class, function (Faker\Generator $faker) { |
|
14 | +$factory->define(App\User::class, function(Faker\Generator $faker) { |
|
15 | 15 | return [ |
16 | 16 | 'name' => $faker->name, |
17 | 17 | 'email' => $faker->email, |
@@ -9,7 +9,7 @@ |
||
9 | 9 | |
10 | 10 | public function install() |
11 | 11 | { |
12 | - Schema::create('config', function ($table) { |
|
12 | + Schema::create('config', function($table) { |
|
13 | 13 | $table->engine = "InnoDB"; |
14 | 14 | |
15 | 15 | $table->string('siteKey', 50)->default('default'); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | |
10 | 10 | public function install() |
11 | 11 | { |
12 | - Schema::create('counter_log', function ($table) { |
|
12 | + Schema::create('counter_log', function($table) { |
|
13 | 13 | $table->engine = "InnoDB"; |
14 | 14 | |
15 | 15 | $table->bigIncrements('id'); |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | |
10 | 10 | public function install() |
11 | 11 | { |
12 | - Schema::create('files_image', function (Blueprint $table) { |
|
12 | + Schema::create('files_image', function(Blueprint $table) { |
|
13 | 13 | $table->engine = "InnoDB"; |
14 | 14 | |
15 | 15 | $table->string('id', 36); |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | $table->index('originId'); |
24 | 24 | }); |
25 | 25 | |
26 | - Schema::create('files_video', function (Blueprint $table) { |
|
26 | + Schema::create('files_video', function(Blueprint $table) { |
|
27 | 27 | $table->engine = "InnoDB"; |
28 | 28 | |
29 | 29 | $table->string('id', 36); |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | $table->index('originId'); |
38 | 38 | }); |
39 | 39 | |
40 | - Schema::create('files_audio', function (Blueprint $table) { |
|
40 | + Schema::create('files_audio', function(Blueprint $table) { |
|
41 | 41 | $table->engine = "InnoDB"; |
42 | 42 | |
43 | 43 | $table->string('id', 36); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | |
10 | 10 | public function install() |
11 | 11 | { |
12 | - Schema::create('permissions', function (Blueprint $table) { |
|
12 | + Schema::create('permissions', function(Blueprint $table) { |
|
13 | 13 | $table->engine = "InnoDB"; |
14 | 14 | |
15 | 15 | $table->increments('id'); |