parent
90b4974d7d
commit
538707bd05
|
@ -789,6 +789,7 @@ class UserController extends Controller
|
|||
$name = $request->name;
|
||||
$checkmark = $request->checkmark;
|
||||
$sharebtn = $request->sharebtn;
|
||||
$tablinks = $request->tablinks;
|
||||
|
||||
if(env('HOME_URL') !== '' && $pageName != $littlelink_name && $littlelink_name == env('HOME_URL')){
|
||||
EnvEditor::editKey('HOME_URL', $pageName);
|
||||
|
@ -816,6 +817,12 @@ class UserController extends Controller
|
|||
} else {
|
||||
UserData::saveData($userId, 'disable-sharebtn', true);
|
||||
}
|
||||
|
||||
if ($tablinks == "on") {
|
||||
UserData::saveData($userId, 'links-new-tab', true);
|
||||
} else {
|
||||
UserData::saveData($userId, 'links-new-tab', false);
|
||||
}
|
||||
|
||||
return Redirect('/studio/page');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue