]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/io/class_FrameworkFileOutputPointer.php
Changed all true/false to TRUE/FALSE respectively as PHP constants are better than...
[core.git] / inc / classes / main / io / class_FrameworkFileOutputPointer.php
index 4be2d02e123722d4243c31a964305b54912fe862..24633cd19da8433487b157faab388c26e1a60782 100644 (file)
@@ -73,7 +73,7 @@ class FrameworkFileOutputPointer extends BaseFrameworkSystem {
 
                // Try to open a handler
                $filePointer = @fopen($fileName, $mode);
-               if (($filePointer === null) || ($filePointer === FALSE)) {
+               if ((is_null($filePointer)) || ($filePointer === FALSE)) {
                        // Something bad happend
                        throw new FileIoException ($fileName, self::EXCEPTION_FILE_POINTER_INVALID);
                } // END - if