You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protectedfunctiongetUploadRootDir()
{
// the absolute directory path where uploaded// documents should be savedreturn__DIR__.'/../../../../web/'.$this->getUploadDir();
}
I don't think that storing the upload file inside of document root is a good idea.