mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
Add option to restrict Page view to logged user
$logged_access = 0 -> not logged in $logged_access = 1 -> logged in
This commit is contained in:
8
system/migrations/37.php
Normal file
8
system/migrations/37.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
// 2023-11-11
|
||||
// Add Guest page access
|
||||
|
||||
use MyAAC\Models\Pages;
|
||||
|
||||
Pages::query()->where('access', 1)->update(['access' => 0]);
|
Reference in New Issue
Block a user