You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 line
328B

  1. <?php
  2. namespace common\controllers;
  3. use yii;
  4. class CommonController extends \yii\web\Controller {
  5. public function beforeAction($event) {
  6. if (!Yii::$app->user->isGuest) {
  7. Yii::$app->user->identity->updateDerniereConnexion();
  8. }
  9. return parent::beforeAction($event);
  10. }
  11. }
  12. ?>