diff --git a/View.php b/View.php index 99358ce..a99f58b 100644 --- a/View.php +++ b/View.php @@ -2,13 +2,14 @@ require __DIR__ . '/SourceQuery/SourceQuery.class.php'; // Edit this -> - define( 'SQ_SERVER_ADDR', 'gs2.my-run.de' ); + define( 'SQ_SERVER_ADDR', 'localhost' ); define( 'SQ_SERVER_PORT', 27015 ); define( 'SQ_TIMEOUT', 1 ); define( 'SQ_ENGINE', SourceQuery :: SOURCE ); // Edit this <- $Timer = MicroTime( true ); + $Query = new SourceQuery( ); $Info = Array( ); @@ -29,6 +30,8 @@ } $Query->Disconnect( ); + + $Timer = Number_Format( MicroTime( true ) - $Timer, 4, '.', '' ); ?> @@ -36,48 +39,48 @@ Source Query PHP Class - +
-