Commit 65ddfde4428f5552253fe25a008848daef060421

Authored by Administrator
1 parent 4f404e20

09.02.16

Showing 2 changed files with 3 additions and 0 deletions   Show diff stats
common/config/main.php
1 1 <?php
2 2 return [
  3 + 'timeZone' => 'Europe/Kiev',
3 4 'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
4 5 'controllerMap' => [
5 6 'elfinder' => [
... ...
common/models/UserInfo.php
... ... @@ -79,6 +79,8 @@ class UserInfo extends \yii\db\ActiveRecord
79 79  
80 80  
81 81 public function getLastVisit(){
  82 + print date('Y-m-d h:m:s');
  83 + die();
82 84 return \Yii::$app->formatter->asRelativeTime(date('Y-m-d h:m:s',strtotime($this->date_visit)));
83 85 }
84 86  
... ...