X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=inc%2Ffile_io.php;h=c141feabd932d109637b53179e53cdfb3ef88fdb;hp=afb41612bd913bc05e750be7d25a86d00becaebe;hb=21a25cc77b1108c7e33d4ce55b1a85970b355de2;hpb=b848cab53db89342f0a854a00be91cadbcff2967 diff --git a/inc/file_io.php b/inc/file_io.php index afb4161..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 * @@ -27,5 +27,8 @@ // Get the instance $io = ObjectFactory::createObjectByConfiguredName('file_io_class'); +// Is the app variable there and valid? +if (is_object($app)) $app->setFileIoInstance($io); + // [EOF] ?>