X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmiddleware%2Fcompressor%2Fclass_CompressorChannel.php;h=567c4f44d8e479aad26fd58119c38e6400d1b014;hb=7a41f3cbb6640f18a4205ef367de6bf050020ed6;hp=6d3ede2569da9a7066427c042b6a64de4681ef87;hpb=c6d73b0e3246efc824cb98338d4be7ee5bc9f308;p=core.git diff --git a/inc/classes/middleware/compressor/class_CompressorChannel.php b/inc/classes/middleware/compressor/class_CompressorChannel.php index 6d3ede25..567c4f44 100644 --- a/inc/classes/middleware/compressor/class_CompressorChannel.php +++ b/inc/classes/middleware/compressor/class_CompressorChannel.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -59,9 +59,9 @@ class CompressorChannel extends BaseMiddleware implements Registerable { $dirPointer = FrameworkDirectoryPointer::createFrameworkDirectoryPointer($baseDir); // Read all directories but no sub directories - while ($dir = $dirPointer->readDirectoryExcept(array("..", ".", ".htaccess", ".svn"))) { + while ($dir = $dirPointer->readDirectoryExcept(array('..', '.', '.htaccess', '.svn'))) { // Is this a class file? - if ((substr($dir, 0, 6) == "class_") && (substr($dir, -4, 4) == ".php")) { + if ((substr($dir, 0, 6) == 'class_') && (substr($dir, -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 // must keep on class in one file.