1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-21 07:11:24 +02:00

major rearrange to prepare to move to PHP 5.4

This commit is contained in:
Mikael Roos
2015-12-05 14:50:49 +01:00
parent f9b149eb5d
commit 6a93f843be
24 changed files with 1137 additions and 915 deletions

View File

@@ -244,7 +244,7 @@ $pwd = get(array('password', 'pwd'), null);
// Check if passwords match, if configured to use passwords
$passwordMatch = null;
if ($pwd) {
switch($pwdType) {
switch ($pwdType) {
case 'md5':
$passwordMatch = ($pwdConfig === md5($pwd));
break;
@@ -996,8 +996,8 @@ if ($srgb || $srgbDefault) {
}
$filename = $img->convert2sRGBColorSpace(
$srcImage,
$imagePath,
$srcImage,
$imagePath,
$srgbDir,
$srgbColorProfile,
$useCache