mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Add Calendar in Admin
This commit is contained in:
@@ -72,9 +72,9 @@ class ConfigController extends Controller
|
||||
$config = Config::all()->where('name',request('perm'))->first();
|
||||
|
||||
if (request('value') == "true") {
|
||||
$config->state = 1;
|
||||
$config->data = ["true"];
|
||||
} else {
|
||||
$config->state = 0;
|
||||
$config->data = ["false"];
|
||||
}
|
||||
|
||||
$config->save();
|
||||
|
||||
Reference in New Issue
Block a user