]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/io/class_FileIoStream.php
Comment fixed (important for later admin area script)
[core.git] / inc / classes / main / io / class_FileIoStream.php
index 457c51f6d155782c8fddb55320fd2616d1bdf736..dda95f0f65eb338af2d991dca308e9ff8e57661b 100644 (file)
@@ -48,10 +48,6 @@ class FileIoStream extends BaseFrameworkSystem implements FileInputStreamer, Fil
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Clean-up a little
-               $this->removeNumberFormaters();
-               $this->removeSystemArray();
        }
 
        /**
@@ -84,7 +80,7 @@ class FileIoStream extends BaseFrameworkSystem implements FileInputStreamer, Fil
                        // Get a file output pointer
                        try {
                                $fileInstance = FrameworkFileOutputPointer::createFrameworkFileOutputPointer($fileName, 'w');
-                       } catch (FilePointerNotOpenedException $e) {
+                       } catch (FileIoException $e) {
                                // Create missing directory
                                $dirName = dirname($fileName);
                                for ($idx2 = 0; $idx2 < (2 - $idx); $idx2++) {