Skip to content

Commit

Permalink
⭐️ Release 2021.Q1.401
Browse files Browse the repository at this point in the history
⭐️ Release 2021.Q1.401
  • Loading branch information
RomaricMourgues authored Mar 13, 2021
2 parents 4b47566 + 858c42f commit b79f476
Show file tree
Hide file tree
Showing 438 changed files with 12,089 additions and 9,821 deletions.
2 changes: 1 addition & 1 deletion migration/2020Q3_to_2020Q4/config/default.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"encryption": {
"key": "c9a17eab88ab63bb3e90c027196a89776651a7c06651a7c0",
"key": "ab63bb3e90c0271c9a1c06651a7c0967eab8851a7a897766",
"defaultIv": "twake_constantiv"
},
"db": {
Expand Down
7 changes: 7 additions & 0 deletions twake/backend/core/app/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ public function __construct()
\Sentry\init(['dsn' => $dsn, 'error_types' => (E_ERROR | E_WARNING | E_PARSE)]);
}

$segment = $this->getContainer()->getParameter("env.segment");
$GLOBALS["segment_enabled"] = false;
if($segment){
$GLOBALS["segment_enabled"] = true;
\Segment::init($segment);
}

$this->counter = new Counter($this);

// Require and instanciate all defined bundles
Expand Down
2 changes: 1 addition & 1 deletion twake/backend/core/app/Configuration/Parameters.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Parameters extends \Common\Configuration
"dbname" => "twake",
"user" => "root",
"password" => "root",
"encryption_key" => "c9a17eab88ab63bb3e90c027196a89776651a7c06651a7c0",
"encryption_key" => "ab63bb3e90c0271c9a1c06651a7c0967eab8851a7a897766",
"replication" => "{'class': 'SimpleStrategy', 'replication_factor': '1'}"
],
"es" => [
Expand Down
3 changes: 2 additions & 1 deletion twake/backend/core/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"php-amqplib/php-amqplib": "^2.11",
"phpseclib/phpseclib": "^2.0",
"sentry/sdk": "^2.1",
"firebase/php-jwt": "^5.2"
"firebase/php-jwt": "^5.2",
"segmentio/analytics-php": "^1.5"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit b79f476

Please sign in to comment.