mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
Finalisation de Google Drive
This commit is contained in:
@@ -141,7 +141,7 @@ class ConfigController extends Controller
|
||||
public function editfilesConfig()
|
||||
{
|
||||
$configList = [
|
||||
'cadet_list'
|
||||
'cadet_list',
|
||||
];
|
||||
|
||||
$configListEncrypt = [
|
||||
@@ -151,6 +151,19 @@ class ConfigController extends Controller
|
||||
'GOOGLE_DRIVE_FOLDER_ID'
|
||||
];
|
||||
|
||||
if (\request('is_active') == 'on')
|
||||
{
|
||||
$config = \App\Config::find('is_Google_Drive_enabled');
|
||||
$config->data = ['true'];
|
||||
$config->save();
|
||||
}
|
||||
else
|
||||
{
|
||||
$config = \App\Config::find('is_Google_Drive_enabled');
|
||||
$config->data = ['false'];
|
||||
$config->save();
|
||||
}
|
||||
|
||||
|
||||
foreach ($configList as $configName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user