Commit e843380b95c7059ac3b5e29a4ce0015c659b68b0

Authored by Administrator
1 parent 65ddfde4

09.02.16

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