From 7a1d29b47f05402978bb603aae8eda5f84298f8e Mon Sep 17 00:00:00 2001 From: xPaw Date: Mon, 27 Apr 2015 22:28:57 +0300 Subject: [PATCH] Remove PHP 5.3 hack --- SourceQuery/SourceQuery.class.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/SourceQuery/SourceQuery.class.php b/SourceQuery/SourceQuery.class.php index f44e2be..ff402e5 100644 --- a/SourceQuery/SourceQuery.class.php +++ b/SourceQuery/SourceQuery.class.php @@ -9,11 +9,6 @@ * I used it as a reference at some points. */ - if( !defined( '__DIR__' ) ) // PHP < 5.3 - { - define( '__DIR__', dirname( __FILE__ ) ); - } - require __DIR__ . '/Exceptions.class.php'; require __DIR__ . '/Buffer.class.php'; require __DIR__ . '/Socket.class.php';