Yii Framework Forum: Db Connection close - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Db Connection close

#1 User is offline   bipinm 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 26-September 16

Posted 26 September 2016 - 05:53 AM

protected function afterAction($action)
		{
			Yii::app()->db->active = false;
					
		}



What actually the above code do.?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users