implode(): Passing glue string after array is deprecated. Swap the parameters
按下面图中内容修改
protected function getFilename($id)
{
return $this->directory
. DIRECTORY_SEPARATOR
. implode(DIRECTORY_SEPARATOR, str_split(hash('sha256', $id), 2))
. DIRECTORY_SEPARATOR
. preg_replace($this->disallowedCharacterPatterns, $this->replacementCharacters, $id)
. $this->extension;
}
