@@ -5,7 +5,7 @@ |
||
5 | 5 | 'displayErrorDetails' => true, |
6 | 6 | 'addContentLengthHeader' => true, |
7 | 7 | 'determineRouteBeforeAppMiddleware' => true, |
8 | - 'debug'=>true , |
|
8 | + 'debug'=>true, |
|
9 | 9 | 'image' => [ |
10 | 10 | 'dir' => $APPROOT . '/public/uploads' |
11 | 11 | ], |
@@ -5,12 +5,12 @@ |
||
5 | 5 | use Phpmig\Adapter; |
6 | 6 | use Illuminate\Database\Capsule\Manager as Capsule; |
7 | 7 | include 'databases.php'; |
8 | -$capsule = new Capsule; |
|
8 | +$capsule = new Capsule; |
|
9 | 9 | $capsule->addConnection($config['databases']['db']); |
10 | 10 | $capsule->setAsGlobal(); |
11 | 11 | $capsule->bootEloquent(); |
12 | 12 | $container = new ArrayObject(); |
13 | 13 | $container['phpmig.adapter'] = new Adapter\Illuminate\Database($capsule, 'migrations'); |
14 | -$container['phpmig.migrations_path'] = 'database/migrations'; |
|
14 | +$container['phpmig.migrations_path'] = 'database/migrations'; |
|
15 | 15 | $container['phpmig.migrations_template_path'] = 'core/resources/templates/create_migration.txt'; |
16 | 16 | return $container; |
17 | 17 | \ No newline at end of file |