| @@ -38,7 +38,7 @@ | ||
| 38 | 38 | |
| 39 | 39 |          if (file_exists(controller_path($row->controller))) { | 
| 40 | 40 |              $response = FileManipulator::readCtrlContent(str_replace('.', '', $row->controller)); | 
| 41 | -        }else{ | |
| 41 | +        } else{ | |
| 42 | 42 |              $response = file_get_contents(__DIR__.'Step1Handler.php/'.str_replace('.', '', $row->controller).'.php'); | 
| 43 | 43 | } | 
| 44 | 44 | |
| @@ -70,8 +70,9 @@ | ||
| 70 | 70 | public function getDeleteFile($file) | 
| 71 | 71 |      { | 
| 72 | 72 | $file = base64_decode($file); | 
| 73 | - if(Storage::delete($file)) | |
| 74 | -            backWithMsg('The file has been deleted!'); | |
| 73 | +        if(Storage::delete($file)) { | |
| 74 | +                    backWithMsg('The file has been deleted!'); | |
| 75 | + } | |
| 75 | 76 | |
| 76 | 77 |          backWithMsg('The file did not deleted!', 'warning'); | 
| 77 | 78 | } |