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 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -Route::group(['prefix' => config('backpack.base.route_prefix', 'admin'), 'middleware' => ['web', 'auth']], function () { |
|
3 | +Route::group(['prefix' => config('backpack.base.route_prefix', 'admin'), 'middleware' => ['web', 'auth']], function() { |
|
4 | 4 | |
5 | 5 | // Backup |
6 | 6 | Route::get('backup', 'BackupController@index'); |
@@ -49,7 +49,7 @@ |
||
49 | 49 | */ |
50 | 50 | public function setupRoutes(Router $router) |
51 | 51 | { |
52 | - $router->group(['namespace' => 'Backpack\BackupManager\app\Http\Controllers'], function ($router) { |
|
52 | + $router->group(['namespace' => 'Backpack\BackupManager\app\Http\Controllers'], function($router) { |
|
53 | 53 | require __DIR__.'/app/Http/routes.php'; |
54 | 54 | }); |
55 | 55 | } |