phpBB

Code Changes

File: phpbb/attachment/upload.php

  Unmodified   Added   Modified   Removed
Line 47Line 47

/** @var dispatcher */
protected $phpbb_dispatcher;


/** @var dispatcher */
protected $phpbb_dispatcher;

 

/** @var string */
protected $phpbb_root_path;


/** @var plupload Plupload */
protected $plupload;


/** @var plupload Plupload */
protected $plupload;

Line 296Line 299
	 */
protected function check_disk_space()
{

	 */
protected function check_disk_space()
{

		if ($free_space = @disk_free_space($this->phpbb_root_path . $this->config['upload_path']))

		if (function_exists('disk_free_space'))

		{

		{

 
			$free_space = @disk_free_space($this->phpbb_root_path);


			if ($free_space <= $this->file->get('filesize'))
{
if ($this->auth->acl_get('a_'))

			if ($free_space <= $this->file->get('filesize'))
{
if ($this->auth->acl_get('a_'))