namespace fix

This commit is contained in:
kremsy 2014-02-07 00:26:32 +01:00 committed by Steffen Schröder
parent 7b30e7ffc5
commit da3d41a6f5
4 changed files with 18 additions and 16 deletions

View File

@ -1,8 +1,8 @@
<?php
namespace ManiaControl\Files;
use ManiaControl\Callbacks\TimerListener;
use ManiaControl\ManiaControl;
use Structures\SocketStructure;
class AsynchronousFileReader implements TimerListener {
/**

View File

@ -1,6 +1,8 @@
<?php
namespace ManiaControl;
namespace ManiaControl\Files;
use ManiaControl\ManiaControl;
/**
* File utility class
@ -36,7 +38,7 @@ abstract class FileUtil {
$buffer = '';
$info = array('timed_out' => false);
while (!feof($fsock) && !$info['timed_out']) {
while(!feof($fsock) && !$info['timed_out']) {
$buffer .= fread($fsock, 1024);
$info = stream_get_meta_data($fsock);
}

View File

@ -6,7 +6,7 @@
* Time: 00:18
*/
namespace Structures;
namespace ManiaControl\Files;
/**
* Socket Structure

View File

@ -5,7 +5,7 @@ namespace ManiaControl\Maps;
use ManiaControl\Admin\AuthenticationManager;
use ManiaControl\Callbacks\CallbackListener;
use ManiaControl\Callbacks\CallbackManager;
use ManiaControl\FileUtil;
use ManiaControl\Files\FileUtil;
use ManiaControl\Formatter;
use ManiaControl\ManiaControl;
use ManiaControl\ManiaExchange\ManiaExchangeList;