Browse Source

Added define check to Plugins

Tobias Reich 10 years ago
parent
commit
009d08f090
1 changed files with 2 additions and 0 deletions
  1. 2 0
      php/modules/Plugins.php

+ 2 - 0
php/modules/Plugins.php

@@ -6,6 +6,8 @@
 # @copyright	2014 by Tobias Reich
 ###
 
+if (!defined('LYCHEE')) exit('Error: Direct access is not allowed!');
+
 class Plugins implements \SplSubject {
 
 	private $files		= array();