@@ -34,7 +34,7 @@ |
||
34 | 34 | */ |
35 | 35 | public function register() |
36 | 36 | { |
37 | - $this->app->bind('xe.seo', function ($app) { |
|
37 | + $this->app->bind('xe.seo', function($app) { |
|
38 | 38 | $setting = new Setting($app['xe.config'], $app['xe.storage'], $app['xe.media'], $app['xe.keygen']); |
39 | 39 | return new SeoHandler( |
40 | 40 | [ |
@@ -54,7 +54,7 @@ |
||
54 | 54 | */ |
55 | 55 | public function register() |
56 | 56 | { |
57 | - $this->app->bind('xe.tag', function ($app) { |
|
57 | + $this->app->bind('xe.tag', function($app) { |
|
58 | 58 | $proxyClass = $app['xe.interception']->proxy(TagHandler::class, 'Tag'); |
59 | 59 | return new $proxyClass( |
60 | 60 | new TagRepository($app['xe.db']->connection()), |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | { |
29 | 29 | $this->app->singleton( |
30 | 30 | 'xe.theme', |
31 | - function ($app) { |
|
31 | + function($app) { |
|
32 | 32 | |
33 | 33 | /** @var PluginRegister $register */ |
34 | 34 | $register = $app['xe.pluginRegister']; |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | intercept( |
87 | 87 | 'Theme@getSelectedTheme', |
88 | 88 | 'preview_theme', |
89 | - function ($target) use ($preview_theme) { |
|
89 | + function($target) use ($preview_theme) { |
|
90 | 90 | if (!auth()->user()->isAdmin()) { |
91 | 91 | throw new AccessDeniedHttpException(); |
92 | 92 | } |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | |
124 | 124 | private function registerMobileResolver() |
125 | 125 | { |
126 | - $this->app['xe.theme']->setMobileResolver(function(){ |
|
126 | + $this->app['xe.theme']->setMobileResolver(function() { |
|
127 | 127 | return app('request')->isMobile(); |
128 | 128 | }); |
129 | 129 | } |
@@ -52,7 +52,7 @@ |
||
52 | 52 | */ |
53 | 53 | public function register() |
54 | 54 | { |
55 | - $this->app->bind('xe.toggleMenu', function ($app) { |
|
55 | + $this->app->bind('xe.toggleMenu', function($app) { |
|
56 | 56 | $proxyClass = $app['xe.interception']->proxy(ToggleMenuHandler::class, 'ToggleMenu'); |
57 | 57 | return new $proxyClass($app['xe.pluginRegister'], $app['xe.config']); |
58 | 58 | }, true); |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | { |
46 | 46 | $this->app->singleton( |
47 | 47 | 'xe.trash', |
48 | - function ($app) { |
|
48 | + function($app) { |
|
49 | 49 | $proxyClass = $app['xe.interception']->proxy(TrashManager::class, 'Trash'); |
50 | 50 | return new $proxyClass($app['xe.register'], $app['xe.db']->connection()); |
51 | 51 | } |
@@ -62,8 +62,8 @@ discard block |
||
62 | 62 | intercept( |
63 | 63 | 'Settings@getManageMenu', |
64 | 64 | ['trash.managemenu' => ['before' => 'manage.sort']], |
65 | - function ($target) { |
|
66 | - $menu = $target(); |
|
65 | + function($target) { |
|
66 | + $menu = $target(); |
|
67 | 67 | $menu['contents']['submenu']['trash'] = [ |
68 | 68 | 'title' => '휴지통 관리', |
69 | 69 | 'description' => 'blur blur~', |
@@ -36,7 +36,7 @@ |
||
36 | 36 | { |
37 | 37 | $this->app->singleton( |
38 | 38 | 'xe.uiobject', |
39 | - function ($app) { |
|
39 | + function($app) { |
|
40 | 40 | |
41 | 41 | $aliases = $app['config']->get('xe.uiobject.aliases'); |
42 | 42 |
@@ -29,5 +29,5 @@ |
||
29 | 29 | $compiledPath = __DIR__.'/cache/compiled.php'; |
30 | 30 | |
31 | 31 | if (file_exists($compiledPath)){ |
32 | - require $compiledPath; |
|
32 | + require $compiledPath; |
|
33 | 33 | } |
@@ -28,6 +28,6 @@ |
||
28 | 28 | */ |
29 | 29 | $compiledPath = __DIR__.'/cache/compiled.php'; |
30 | 30 | |
31 | -if (file_exists($compiledPath)){ |
|
31 | +if (file_exists($compiledPath)) { |
|
32 | 32 | require $compiledPath; |
33 | 33 | } |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |-------------------------------------------------------------------------- |
7 | 7 | | Default Authentication Driver |
8 | 8 | |-------------------------------------------------------------------------- |
@@ -15,9 +15,9 @@ discard block |
||
15 | 15 | | |
16 | 16 | */ |
17 | 17 | |
18 | - 'driver' => 'xe', |
|
18 | + 'driver' => 'xe', |
|
19 | 19 | |
20 | - /* |
|
20 | + /* |
|
21 | 21 | |-------------------------------------------------------------------------- |
22 | 22 | | Authentication Model |
23 | 23 | |-------------------------------------------------------------------------- |
@@ -28,9 +28,9 @@ discard block |
||
28 | 28 | | |
29 | 29 | */ |
30 | 30 | |
31 | - 'model' => App\User::class, |
|
31 | + 'model' => App\User::class, |
|
32 | 32 | |
33 | - /* |
|
33 | + /* |
|
34 | 34 | |-------------------------------------------------------------------------- |
35 | 35 | | Authentication Table |
36 | 36 | |-------------------------------------------------------------------------- |
@@ -41,9 +41,9 @@ discard block |
||
41 | 41 | | |
42 | 42 | */ |
43 | 43 | |
44 | - 'table' => 'users', |
|
44 | + 'table' => 'users', |
|
45 | 45 | |
46 | - /* |
|
46 | + /* |
|
47 | 47 | |-------------------------------------------------------------------------- |
48 | 48 | | Password Reset Settings |
49 | 49 | |-------------------------------------------------------------------------- |
@@ -58,11 +58,11 @@ discard block |
||
58 | 58 | | |
59 | 59 | */ |
60 | 60 | |
61 | - 'password' => [ |
|
62 | - 'email' => 'emails.password', |
|
63 | - 'table' => 'password_resets', |
|
64 | - 'expire' => 60, |
|
65 | - ], |
|
61 | + 'password' => [ |
|
62 | + 'email' => 'emails.password', |
|
63 | + 'table' => 'password_resets', |
|
64 | + 'expire' => 60, |
|
65 | + ], |
|
66 | 66 | |
67 | 67 | 'confirm' => [ |
68 | 68 | 'email' => 'emails.confirm' |
@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | |
5 | - /* |
|
5 | + /* |
|
6 | 6 | |-------------------------------------------------------------------------- |
7 | 7 | | Default Cache Store |
8 | 8 | |-------------------------------------------------------------------------- |
@@ -13,9 +13,9 @@ discard block |
||
13 | 13 | | |
14 | 14 | */ |
15 | 15 | |
16 | - 'default' => env('CACHE_DRIVER', 'file'), |
|
16 | + 'default' => env('CACHE_DRIVER', 'file'), |
|
17 | 17 | |
18 | - /* |
|
18 | + /* |
|
19 | 19 | |-------------------------------------------------------------------------- |
20 | 20 | | Cache Stores |
21 | 21 | |-------------------------------------------------------------------------- |
@@ -26,58 +26,58 @@ discard block |
||
26 | 26 | | |
27 | 27 | */ |
28 | 28 | |
29 | - 'stores' => [ |
|
30 | - |
|
31 | - 'apc' => [ |
|
32 | - 'driver' => 'apc', |
|
33 | - ], |
|
34 | - |
|
35 | - 'array' => [ |
|
36 | - 'driver' => 'array', |
|
37 | - ], |
|
38 | - |
|
39 | - 'database' => [ |
|
40 | - 'driver' => 'database', |
|
41 | - 'table' => 'cache', |
|
42 | - 'connection' => null, |
|
43 | - ], |
|
44 | - |
|
45 | - 'file' => [ |
|
46 | - 'driver' => 'file', |
|
47 | - 'path' => storage_path('framework/cache'), |
|
48 | - ], |
|
49 | - |
|
50 | - 'lang' => [ |
|
51 | - 'driver' => 'file', |
|
52 | - 'path' => storage_path('app/lang'), |
|
53 | - ], |
|
54 | - |
|
55 | - 'plugins' => [ |
|
56 | - 'driver' => 'file', |
|
57 | - 'path' => storage_path('framework/plugins'), |
|
58 | - ], |
|
59 | - 'schema' => [ |
|
60 | - 'driver' => 'file', |
|
61 | - 'path' => storage_path('framework/schemas'), |
|
62 | - ], |
|
63 | - |
|
64 | - 'memcached' => [ |
|
65 | - 'driver' => 'memcached', |
|
66 | - 'servers' => [ |
|
67 | - [ |
|
68 | - 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100, |
|
69 | - ], |
|
70 | - ], |
|
71 | - ], |
|
72 | - |
|
73 | - 'redis' => [ |
|
74 | - 'driver' => 'redis', |
|
75 | - 'connection' => 'default', |
|
76 | - ], |
|
77 | - |
|
78 | - ], |
|
79 | - |
|
80 | - /* |
|
29 | + 'stores' => [ |
|
30 | + |
|
31 | + 'apc' => [ |
|
32 | + 'driver' => 'apc', |
|
33 | + ], |
|
34 | + |
|
35 | + 'array' => [ |
|
36 | + 'driver' => 'array', |
|
37 | + ], |
|
38 | + |
|
39 | + 'database' => [ |
|
40 | + 'driver' => 'database', |
|
41 | + 'table' => 'cache', |
|
42 | + 'connection' => null, |
|
43 | + ], |
|
44 | + |
|
45 | + 'file' => [ |
|
46 | + 'driver' => 'file', |
|
47 | + 'path' => storage_path('framework/cache'), |
|
48 | + ], |
|
49 | + |
|
50 | + 'lang' => [ |
|
51 | + 'driver' => 'file', |
|
52 | + 'path' => storage_path('app/lang'), |
|
53 | + ], |
|
54 | + |
|
55 | + 'plugins' => [ |
|
56 | + 'driver' => 'file', |
|
57 | + 'path' => storage_path('framework/plugins'), |
|
58 | + ], |
|
59 | + 'schema' => [ |
|
60 | + 'driver' => 'file', |
|
61 | + 'path' => storage_path('framework/schemas'), |
|
62 | + ], |
|
63 | + |
|
64 | + 'memcached' => [ |
|
65 | + 'driver' => 'memcached', |
|
66 | + 'servers' => [ |
|
67 | + [ |
|
68 | + 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100, |
|
69 | + ], |
|
70 | + ], |
|
71 | + ], |
|
72 | + |
|
73 | + 'redis' => [ |
|
74 | + 'driver' => 'redis', |
|
75 | + 'connection' => 'default', |
|
76 | + ], |
|
77 | + |
|
78 | + ], |
|
79 | + |
|
80 | + /* |
|
81 | 81 | |-------------------------------------------------------------------------- |
82 | 82 | | Cache Key Prefix |
83 | 83 | |-------------------------------------------------------------------------- |
@@ -88,6 +88,6 @@ discard block |
||
88 | 88 | | |
89 | 89 | */ |
90 | 90 | |
91 | - 'prefix' => 'laravel', |
|
91 | + 'prefix' => 'laravel', |
|
92 | 92 | |
93 | 93 | ]; |