X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fcompressor%2Fclass_MismatchingCompressorsException.php;h=7e0c47e2da2fc64fcb48daaff2f54ac561873bf6;hp=8cc255cbd55e06be2efccd875ee313fd7415814a;hb=fdc6a02b5e6c2155cda61fcc345c7583b734ab85;hpb=361e6320e50a8bb1a3ccb675388b8042361669ae diff --git a/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php b/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php index 8cc255cb..7e0c47e2 100644 --- a/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php +++ b/inc/classes/exceptions/compressor/class_MismatchingCompressorsException.php @@ -2,11 +2,11 @@ /** * An exception thrown when compressors are mismatching * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2013 Core Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,11 +31,11 @@ class MismatchingCompressorsException extends FrameworkException { */ public function __construct (array $array, $code) { // Add a message around the missing class - $message = sprintf("[%s:%d] Der Kompressor %s zu den geladenen Daten aus %s und der aktuell verwendete Kompressor %s stimmen nicht überein!", + $message = sprintf('[%s:%d] Der Kompressor %s zu den geladenen Daten aus %s und der aktuell verwendete Kompressor %s stimmen nicht überein!', $array[0]->__toString(), $this->getLine(), strtoupper($array[1]), - sprintf("%s:%s", + sprintf('%s:%s', basename(dirname($array[2])), basename($array[2]) ),