phpBB

Code Changes

File: phpbb/user.php

  Unmodified   Added   Modified   Removed
Line 300Line 300
		// Call phpbb_user_session_handler() in case external application want to "bend" some variables or replace classes...
// After calling it we continue script execution...
phpbb_user_session_handler();

		// Call phpbb_user_session_handler() in case external application want to "bend" some variables or replace classes...
// After calling it we continue script execution...
phpbb_user_session_handler();

 

/**
* Execute code at the end of user setup
*
* @event core.user_setup_after
* @since 3.1.6-RC1
*/
$phpbb_dispatcher->dispatch('core.user_setup_after');


// If this function got called from the error handler we are finished here.
if (defined('IN_ERROR_HANDLER'))


// If this function got called from the error handler we are finished here.
if (defined('IN_ERROR_HANDLER'))

Line 637Line 645
				$lang_path = $this->lang_path;
}


				$lang_path = $this->lang_path;
}


			if (strpos($phpbb_root_path . $filename, $lang_path . $this->lang_name . '/') === 0)

			if (strpos($phpbb_root_path . $filename, $lang_path) === 0)

			{
$language_filename = $phpbb_root_path . $filename;
}

			{
$language_filename = $phpbb_root_path . $filename;
}

Line 717Line 725
			$utc = new \DateTimeZone('UTC');
}


			$utc = new \DateTimeZone('UTC');
}


		$time = new $this->datetime($this, "@$gmepoch", $utc);

		$time = new $this->datetime($this, '@' . (int) $gmepoch, $utc);

		$time->setTimezone($this->timezone);

return $time->format($format, $forcedate);

		$time->setTimezone($this->timezone);

return $time->format($format, $forcedate);