]> git.mxchange.org Git - core.git/blobdiff - framework/main/middleware/compressor/class_CompressorChannel.php
Continued:
[core.git] / framework / main / middleware / compressor / class_CompressorChannel.php
index 798f6e48e559d1da9439558148f0148b0482845d..a78bb6e82786d2d662e4e4db8d78da9cf14b6823 100644 (file)
@@ -14,7 +14,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2021 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -71,10 +71,8 @@ class CompressorChannel extends BaseMiddleware implements Registerable {
 
                        // Read all directories but no sub directories, .htaccess files and NullCompressor class
                        while ($directoryEntry = $directoryInstance->readDirectoryExcept(array('class_NullCompressor.php'))) {
-                               // Debug message
-                               //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('COMPRESSOR: directoryEntry=' . $directoryEntry);
-
                                // Is this a class file?
+                               //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage('COMPRESSOR: directoryEntry=' . $directoryEntry);
                                if ((substr($directoryEntry, 0, 6) == 'class_') && (substr($directoryEntry, -4, 4) == '.php')) {
                                        /* Get the compressor's name. That's why you must name
                                         * your files like your classes and also that's why you
@@ -106,7 +104,7 @@ class CompressorChannel extends BaseMiddleware implements Registerable {
                                        // No more searches required because we have found a valid compressor stream
                                        break;
                                }
-                       } // END - while
+                       }
 
                        // Close the directory
                        $directoryInstance->closeDirectory();