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
in how to handle file uploads with doctrine, the doc use the _ _ dir _ _ variable.
According to SensioLabs Insight, it's not a "best practise". How can one handle this ?
Thx...
protected function getUploadRootDir()
{
// the absolute directory path where uploaded
// documents should be saved
return __DIR__.'/../../../../web/'.$this->getUploadDir();
}
The text was updated successfully, but these errors were encountered:
in how to handle file uploads with doctrine, the doc use the _ _ dir _ _ variable.
According to SensioLabs Insight, it's not a "best practise". How can one handle this ?
Thx...
The text was updated successfully, but these errors were encountered: