]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/middleware/io/class_FileIoHandler.php
Code sync from ship-simu code (all class config entries must end with _class!)
[mailer.git] / inc / classes / middleware / io / class_FileIoHandler.php
index 071e1d6ecbef9d823ce2fff46c9f71d660450428..99cb434e16a1379a2a2220834fbcf062f7bb8b56 100644 (file)
@@ -7,7 +7,7 @@
  * @version            0.0.0
  * @copyright  Copyright(c) 2007, 2008 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.ship-simu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -68,8 +68,8 @@ class FileIoHandler extends BaseMiddleware {
                $ioHandler = new FileIoHandler();
 
                // Set the *real* file IO instances (both the same)
-               $ioHandler->setInputStream(ObjectFactory::createObjectByConfiguredName('file_input_stream'));
-               $ioHandler->setOutputStream(ObjectFactory::createObjectByConfiguredName('file_output_stream'));
+               $ioHandler->setInputStream(ObjectFactory::createObjectByConfiguredName('file_input_class'));
+               $ioHandler->setOutputStream(ObjectFactory::createObjectByConfiguredName('file_output_class'));
 
                // Return instance
                return $ioHandler;