CakePHP Images not uploading to image folder
===

Why are my images not saving into the images folder?  I set permissions on the folder to write.  I'm at a loss.  I'm starting to get overwhelmed by code!
        
    class PicturesController extends AppController {
		var $name = 'Pictures';
		var $scaffold;	
		
		function add() {
			if ($this->request->is('post')) {
				if ($this->Picture->save($this->request->data)) {
					$this->Session->setFlash('Picture has been saved');
					$this->redirect(array('action' => 'index'));
				}
				else {
					$this->Session->setFlash('Unable to add Picture');
				}
			}
 			$this->loadModel('Product');
 			$this->set('products', $this->Product->find('list',array('order' => array('Product.name'))));
 			$this->set(compact('products'));			
 		}
		
		function uploadFile() {
			$file = $this->request->data['Picture']['file'];		
			if ($file['error'] == UPLOAD_ERR_OK) {
				if (move_uploaded_file($file['tmp_name'],APP.'webroot/img/'.$file['name'])) {			
					$this->request->data['Picture']['filename'] = $file['name'];
					$this->request->data['Picture']['filesize'] = $file['size'];
					$this->request->data['Picture']['filemime'] = $file['type'];				
					return true;
				}
				else {
					return false;	
				}
			}
			else {
				return false;
			}
		}		