summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--execute.php4
-rw-r--r--index.php2
-rw-r--r--router.php4
-rw-r--r--utils.php4
4 files changed, 0 insertions, 14 deletions
diff --git a/execute.php b/execute.php
index 49e04df..72f7d0b 100644
--- a/execute.php
+++ b/execute.php
@@ -19,10 +19,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-if (!defined('LOOKING_GLASS01')) {
- exit;
-}
-
require_once 'config.php';
require_once 'router.php';
require_once 'utils.php';
diff --git a/index.php b/index.php
index 8e43b67..895be86 100644
--- a/index.php
+++ b/index.php
@@ -18,8 +18,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-define('LOOKING_GLASS01', 1);
-
require_once 'config.php';
?>
<!DOCTYPE html>
diff --git a/router.php b/router.php
index a9f33be..f19e6d0 100644
--- a/router.php
+++ b/router.php
@@ -19,10 +19,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-if (!defined('LOOKING_GLASS01')) {
- exit;
-}
-
require_once 'config.php';
require_once 'utils.php';
diff --git a/utils.php b/utils.php
index ec3db07..6baafb8 100644
--- a/utils.php
+++ b/utils.php
@@ -19,10 +19,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-if (!defined('LOOKING_GLASS01')) {
- exit;
-}
-
function match_ipv4($ip) {
return filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4);
}