We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -49,14 +49,14 @@ |
||
| 49 | 49 | { |
| 50 | 50 | try { |
| 51 | 51 | ini_set('max_execution_time', 300); |
| 52 | - // start the backup process |
|
| 53 | - Artisan::call('backup:run'); |
|
| 52 | + // start the backup process |
|
| 53 | + Artisan::call('backup:run'); |
|
| 54 | 54 | $output = Artisan::output(); |
| 55 | 55 | |
| 56 | - // log the results |
|
| 57 | - Log::info("Backpack\BackupManager -- new backup started from admin interface \r\n".$output); |
|
| 58 | - // return the results as a response to the ajax call |
|
| 59 | - echo $output; |
|
| 56 | + // log the results |
|
| 57 | + Log::info("Backpack\BackupManager -- new backup started from admin interface \r\n".$output); |
|
| 58 | + // return the results as a response to the ajax call |
|
| 59 | + echo $output; |
|
| 60 | 60 | } catch (Exception $e) { |
| 61 | 61 | Response::make($e->getMessage(), 500); |
| 62 | 62 | } |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | 'namespace' => 'Backpack\BackupManager\app\Http\Controllers', |
| 15 | 15 | 'prefix' => config('backpack.base.route_prefix', 'admin'), |
| 16 | 16 | 'middleware' => ['web', 'admin'], |
| 17 | -], function () { |
|
| 17 | +], function() { |
|
| 18 | 18 | Route::get('backup', 'BackupController@index'); |
| 19 | 19 | Route::put('backup/create', 'BackupController@create'); |
| 20 | 20 | Route::get('backup/download/{file_name?}', 'BackupController@download'); |