X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffile_io.php;h=c141feabd932d109637b53179e53cdfb3ef88fdb;hb=4a86a97464975305c05d2771abfe31586bc37055;hp=7713c6371a7072924ba8c7eb4df44c3c0e7e3af1;hpb=55b327a3f5f2fe1d244532e07be7444e94b2a768;p=shipsimu.git diff --git a/inc/file_io.php b/inc/file_io.php index 7713c63..c141fea 100644 --- a/inc/file_io.php +++ b/inc/file_io.php @@ -6,7 +6,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @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 * @@ -25,7 +25,10 @@ */ // Get the instance -$io = ObjectFactory::createObjectByConfiguredName('file_io_handler'); +$io = ObjectFactory::createObjectByConfiguredName('file_io_class'); + +// Is the app variable there and valid? +if (is_object($app)) $app->setFileIoInstance($io); // [EOF] ?>