(bug 4974) Don't follow redirected talk page on "new messages" link
[lhc/web/wiklou.git] / includes / ProfilerSimpleUDP.php
index bc6ca98..c395228 100644 (file)
@@ -1,17 +1,17 @@
-<?
+<?php
 /* ProfilerSimpleUDP class, that sends out messages for 'udpprofile' daemon
    (the one from wikipedia/udpprofile CVS )
 */
 
-require_once('Profiling.php');
-require_once('ProfilerSimple.php');
+require_once(dirname(__FILE__).'/Profiling.php');
+require_once(dirname(__FILE__).'/ProfilerSimple.php');
 
 class ProfilerSimpleUDP extends ProfilerSimple {
        function getFunctionReport() {
                global $wgUDPProfilerHost;
                global $wgUDPProfilerPort;
                global $wgDBname;
-               
+
                $sock = socket_create(AF_INET, SOCK_DGRAM, SOL_UDP);
                $plength=0;
                $packet="";