diff options
author | Christian Schneider | 2015-09-07 18:08:53 +0200 |
---|---|---|
committer | Christian Schneider | 2015-09-07 18:08:53 +0200 |
commit | 1d1e1f54a9d465ccf6db0317abfb96a7b8828f50 (patch) | |
tree | 936dc6fc781afac1c2629f86e1d1758bd89ddf9d | |
parent | 1c0a580ec4de036530b08a83d5ddc2d915bdfd0b (diff) | |
parent | 6a64e44bf81efcda494d4b2a7b147a25f552039b (diff) | |
download | itools-1d1e1f54a9d465ccf6db0317abfb96a7b8828f50.tar.gz itools-1d1e1f54a9d465ccf6db0317abfb96a7b8828f50.tar.bz2 itools-1d1e1f54a9d465ccf6db0317abfb96a7b8828f50.zip |
Merge branch 'master' into cs/php7
-rw-r--r-- | it.class | 2 | ||||
-rw-r--r-- | it_cache.class | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -690,7 +690,7 @@ static function imageconvert($p) $ultratimeout = file_exists("/opt/ultra/bin/ultratimeout") ? "/opt/ultra/bin/ultratimeout 30 " : ""; if (in_array($type, explode(',', $p['types']))) # Valid type? - $cmdoutput = it::exec($ultratimeout . 'gm convert 2>&1 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?"', $p); + $cmdoutput = it::exec('( ' . $ultratimeout . 'gm convert 2>&1 {-opts} {in} {type}:{out} || echo "SHELL ERROR $?" ) | grep -v "iCCP: known incorrect sRGB profile"', $p); return $cmdoutput === ""; } diff --git a/it_cache.class b/it_cache.class index 524a15f..27be919 100644 --- a/it_cache.class +++ b/it_cache.class @@ -39,7 +39,7 @@ static function _defaults($p) } /** - * Get value for specific key from cache. Can be mixed value but no objects. + * Get value for specific key from cache. Can be mixed value but no objects. WARNING: only distributed works from shell * @param $key Key to get value for * @param $p['distributed'] Use distributed memcache (scalars may become strings) [false] * @return Value for given key or null @@ -59,7 +59,7 @@ static function get($key, $p = array()) } /** - * Put value for specific key into cache. Can be mixed value but no objects. + * Put value for specific key into cache. Can be mixed value but no objects. WARNING: only distributed works from shell * @param $key Key to put value with * @param $value Value to put (mixed but no objects allowed) * @param $p['distributed'] Use distributed memcache (scalars may become strings) [false] |