]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/middleware/compressor/class_CompressorChannel.php
getConfigInstance() is now protected, factories added
[shipsimu.git] / inc / classes / middleware / compressor / class_CompressorChannel.php
index b5fa5654abed02b9cf166e1a4d3781ad212f939c..fd04ac118bdc9bde22430a9bd6faf09c4e096a4e 100644 (file)
@@ -55,7 +55,7 @@ class CompressorChannel extends BaseMiddleware {
                        // Read all directories but no sub directories
                        while ($dir = $dirPointer->readDirectoryExcept(array("..", ".", ".htaccess"))) {
                                // Is this a class file?
-                               if ((substr($dir, 0, 6) == "class_") && (substr($dir, -4, 4) == $cInstance->getConfigInstance()->readConfig("php_extension"))) {
+                               if ((substr($dir, 0, 6) == "class_") && (substr($dir, -4, 4) == FrameworkConfiguration::getInstance()->readConfig("php_extension"))) {
                                        // Get the compressor's name. That's why you must name
                                        // your files like your classes and also that's why you
                                        // must keep on class in one file.