projects
/
shipsimu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Application init phase rewritten, data.php now sets app data
[shipsimu.git]
/
inc
/
file_io.php
diff --git
a/inc/file_io.php
b/inc/file_io.php
index 0a5ec9b4c36f4cd86e7c1d1343700a9c5f914a78..c141feabd932d109637b53179e53cdfb3ef88fdb 100644
(file)
--- a/
inc/file_io.php
+++ b/
inc/file_io.php
@@
-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]
?>