/** * Function to get all necessary files and the status, whether those files match with the original Shopware-Files */ public function getFileListAction(){ $list = new Shopware_Components_Check_File(); $list->setTestDir(Shopware()->DocPath()); $this->View()->assign(array('success'=>true, 'data'=>$list->toArray())); }