protected function forceSymlink($origin, $destination) { $fs = new sfFileSystem(); if (file_exists($destination)) { $fs->remove($destination); } $fs->symlink($origin, $destination); }