Added 'final' to access classes
This commit is contained in:
parent
24c883a661
commit
36b1b40325
@ -8,7 +8,7 @@
|
||||
if (!defined('LYCHEE')) exit('Error: Direct access is not allowed!');
|
||||
if (!defined('LYCHEE_ACCESS_ADMIN')) exit('Error: You are not allowed to access this area!');
|
||||
|
||||
class Admin extends Access {
|
||||
final class Admin extends Access {
|
||||
|
||||
public function check($fn) {
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
if (!defined('LYCHEE')) exit('Error: Direct access is not allowed!');
|
||||
if (!defined('LYCHEE_ACCESS_GUEST')) exit('Error: You are not allowed to access this area!');
|
||||
|
||||
class Guest extends Access {
|
||||
final class Guest extends Access {
|
||||
|
||||
public function check($fn) {
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
if (!defined('LYCHEE')) exit('Error: Direct access is not allowed!');
|
||||
if (!defined('LYCHEE_ACCESS_INSTALLATION')) exit('Error: You are not allowed to access this area!');
|
||||
|
||||
class Installation extends Access {
|
||||
final class Installation extends Access {
|
||||
|
||||
public function check($fn) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user