Call the $path->basepath() function once
Call the $path->basepath() function once

Why?

Because if you use {time} in the path variable, you may end up saving the file to a folder different than the one indicated under `dir`
josegonzalez/cakephp-upload,Phillaf/cakephp-upload