private function checkServerSettings()
    {
        $postSize = $this->toBytes(ini_get('post_max_size'));
        $uploadSize = $this->toBytes(ini_get('upload_max_filesize'));

		if ($postSize < $this->sizeLimit || $uploadSize < $this->sizeLimit)
		{
			$size = max(1, $this->sizeLimit / 1024 / 1024) . 'M';
			throw new CException(Yii::t('ciims.misc', 'Increase post_max_size and upload_max_filesize to {{size}}', array('{{size}}' => $size)));
		}

		return true;
    }