]> _ Git - fluidbook-toolbox.git/commitdiff
wip #3712 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Jun 2020 14:37:00 +0000 (16:37 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Jun 2020 14:37:00 +0000 (16:37 +0200)
config/database.php
public/index.php

index b42d9b30a5463e6f1c739724d5debdc487f94748..ace71ad3994a47082fdf3b9956fc5098c965f7d4 100644 (file)
@@ -63,6 +63,27 @@ return [
             ]) : [],
         ],
 
+        'extranet_users' => [
+            'driver' => 'mysql',
+            'url' => env('DATABASE_URL'),
+            'host' => env('DB_HOST', '127.0.0.1'),
+            'port' => env('DB_PORT', '3306'),
+            'database' => env('DB_USER_DATABASE', 'extranet_users'),
+            'username' => env('DB_USERNAME', 'forge'),
+            'password' => env('DB_PASSWORD', ''),
+            'unix_socket' => env('DB_SOCKET', ''),
+            'charset' => 'utf8mb4',
+            'collation' => 'utf8mb4_unicode_ci',
+            'prefix' => '',
+            'prefix_indexes' => true,
+            'strict' => true,
+            'engine' => null,
+            'options' => extension_loaded('pdo_mysql') ? array_filter([
+                PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
+            ]) : [],
+        ],
+
+
         'pgsql' => [
             'driver' => 'pgsql',
             'url' => env('DATABASE_URL'),
index 4584cbcd6ad53d355c4448fc0823febd90fb5340..ad897c766115443b87ff0e3d7eaf39c7fbfaff1f 100644 (file)
@@ -9,6 +9,7 @@
 
 define('LARAVEL_START', microtime(true));
 
+require_once __DIR__.'/../vendor/cubist/cms-back/src/app/helpers.php';
 /*
 |--------------------------------------------------------------------------
 | Register The Auto Loader
@@ -20,7 +21,6 @@ define('LARAVEL_START', microtime(true));
 | loading any of our classes later on. It feels great to relax.
 |
 */
-
 require __DIR__.'/../vendor/autoload.php';
 
 /*