Browse Source

Merge branch 'dev'

prodstable
Guillaume Bourgeois 5 years ago
parent
commit
005b2cb9bb
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      backend/config/main.php
  2. +1
    -1
      backend/controllers/CronController.php

+ 1
- 1
backend/config/main.php View File

@@ -54,7 +54,7 @@ return [
'modules' => [],
'components' => [
'log' => [
'traceLevel' => YII_DEBUG ? 3 : 0,
'traceLevel' => YII_DEBUG ? 3 : 1,
'targets' => [
[
'class' => 'yii\log\FileTarget',

+ 1
- 1
backend/controllers/CronController.php View File

@@ -231,7 +231,7 @@ class CronController extends BackendController
}
if($producer->active) {
Yii::info($producer->name.' : Distribution du '.$date.', '.count($arrayOrders).' commande(s) enregistrée(s), '.$countOrders.' commande(s) payée(s), '.($mailOrdersSend ? 'Récapitulatif de commandes envoyé' : 'Aucun email envoyé'), 'cron-process-orders') ;
Yii::error($producer->name.' : Distribution du '.$date.', '.count($arrayOrders).' commande(s) enregistrée(s), '.$countOrders.' commande(s) payée(s), '.($mailOrdersSend ? 'Récapitulatif de commandes envoyé' : 'Aucun email envoyé'), 'cron-process-orders') ;
}
}
}

Loading…
Cancel
Save