Added 'final' to access classes

This commit is contained in:
Tobias Reich 2016-01-24 17:10:54 +01:00
parent 24c883a661
commit 36b1b40325
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
if (!defined('LYCHEE')) exit('Error: Direct access is not allowed!'); 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!'); 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) { public function check($fn) {

View File

@ -8,7 +8,7 @@
if (!defined('LYCHEE')) exit('Error: Direct access is not allowed!'); 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!'); 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) { public function check($fn) {

View File

@ -8,7 +8,7 @@
if (!defined('LYCHEE')) exit('Error: Direct access is not allowed!'); 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!'); 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) { public function check($fn) {