X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffile_io.php;h=c141feabd932d109637b53179e53cdfb3ef88fdb;hb=4a86a97464975305c05d2771abfe31586bc37055;hp=d63a9a35fe404196d12109ae7ca19430e2b71e1e;hpb=ff66822b5fb6a92f5dc8af55290ecb89ec7f1aaf;p=shipsimu.git diff --git a/inc/file_io.php b/inc/file_io.php index d63a9a3..c141fea 100644 --- a/inc/file_io.php +++ b/inc/file_io.php @@ -5,9 +5,10 @@ * instances will we generated. * * @author Roland Haeder - * @version 0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @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 * * 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 @@ -20,9 +21,14 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * along with this program. If not, see . */ -$io = FileIOHandler::createFileIOHandler(); + +// Get the instance +$io = ObjectFactory::createObjectByConfiguredName('file_io_class'); + +// Is the app variable there and valid? +if (is_object($app)) $app->setFileIoInstance($io); // [EOF] ?>