phpBB

Code Changes

File: phpbb/avatar/driver/driver.php

  Unmodified   Added   Modified   Removed
Line 29Line 29
	* @var \phpbb\config\config
*/
protected $config;

	* @var \phpbb\config\config
*/
protected $config;

 

/** @var \FastImageSize\FastImageSize */
protected $imagesize;


/**
* Current $phpbb_root_path


/**
* Current $phpbb_root_path

Line 73Line 76
	* Construct a driver object
*
* @param \phpbb\config\config $config phpBB configuration

	* Construct a driver object
*
* @param \phpbb\config\config $config phpBB configuration

 
	* @param \FastImageSize\FastImageSize $imagesize FastImageSize class

	* @param string $phpbb_root_path Path to the phpBB root
* @param string $php_ext PHP file extension
* @param \phpbb\path_helper $path_helper phpBB path helper
* @param \phpbb\cache\driver\driver_interface $cache Cache driver
*/

	* @param string $phpbb_root_path Path to the phpBB root
* @param string $php_ext PHP file extension
* @param \phpbb\path_helper $path_helper phpBB path helper
* @param \phpbb\cache\driver\driver_interface $cache Cache driver
*/

	public function __construct(\phpbb\config\config $config, $phpbb_root_path, $php_ext, \phpbb\path_helper $path_helper, \phpbb\cache\driver\driver_interface $cache = null)

	public function __construct(\phpbb\config\config $config, \FastImageSize\FastImageSize $imagesize, $phpbb_root_path, $php_ext, \phpbb\path_helper $path_helper, \phpbb\cache\driver\driver_interface $cache = null)

	{
$this->config = $config;

	{
$this->config = $config;

 
		$this->imagesize = $imagesize;

		$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext;
$this->path_helper = $path_helper;

		$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext;
$this->path_helper = $path_helper;

Line 117Line 122
	public function get_name()
{
return $this->name;

	public function get_name()
{
return $this->name;

 
	}

/**
* {@inheritdoc}
*/
public function get_config_name()
{
return preg_replace('#^phpbb\\\\avatar\\\\driver\\\\#', '', get_class($this));
}

/**
* {@inheritdoc}
*/
public function get_acp_template_name()
{
return 'acp_avatar_options_' . $this->get_config_name() . '.html';

	}

/**

	}

/**