예제 #1
0
파일: Visit.php 프로젝트: Doluci/tomatocart
 protected function getCurrentTimestamp()
 {
     self::$timestampToUse = max(@$this->visitorInfo['visit_last_action_time'], self::$timestampToUse);
     self::$timestampToUse += mt_rand(4, 1840);
     return self::$timestampToUse;
 }
예제 #2
0
	public function generateTimestamp()
	{
		self::$timestampToUse = max(@$this->visitorInfo['visit_last_action_time'],self::$timestampToUse);
		self::$timestampToUse += mt_rand(4,1840);
	}