*/
protected function schedule(Schedule $schedule)
{
- $schedule->command('backup:run')
- ->dailyAt('04:00');
+ $schedule->command('backup:clean')->daily()->at('04:00');
+ $schedule->command('backup:run')->daily()->at('05:00');
}
/**
// The prefix used in all base routes (the 'admin' in admin/dashboard)
// You can make sure all your URLs use this prefix by using the backpack_url() helper instead of url()
- 'route_prefix' => 'admin',
+ 'route_prefix' => '',
// Set this to false if you would like to use your own AuthController and PasswordController
// (you then need to setup your auth routes manually in your routes.php file)
'namespace' => 'App\Http\Controllers\Admin',
], function () { // custom admin routes
Route::crud('locale', 'LocaleCrudController');
- Route::crud('page', 'PageCrudController');
- Route::crud('quiz', 'QuizCrudController');
- Route::crud('quiztranslation', 'QuiztranslationCrudController');
Route::crud('settings', 'SettingsCrudController');
+ Route::crud('quiztranslation', 'QuiztranslationCrudController');
+ Route::crud('quiz', 'QuizCrudController');
+ Route::crud('page', 'PageCrudController');
});
<?php
-Route::any('{page}/{subs?}', 'PageController@catchall')
- ->where(['page' => '^(((?=(?!admin))(?=(?!\/)).))*$', 'subs' => '.*']);
+//Route::any('{page}/{subs?}', 'PageController@catchall')
+// ->where(['page' => '^(((?=(?!admin))(?=(?!\/)).))*$', 'subs' => '.*']);