diff --git a/min/lib/Minify/ClosureCompiler.php b/min/lib/Minify/ClosureCompiler.php index 7856097..bdcdc7e 100644 --- a/min/lib/Minify/ClosureCompiler.php +++ b/min/lib/Minify/ClosureCompiler.php @@ -70,7 +70,7 @@ class Minify_ClosureCompiler { { self::_prepare(); if (! ($tmpFile = tempnam(self::$tempDir, 'cc_'))) { - throw new Exception('Minify_ClosureCompiler : could not create temp file.'); + throw new Exception('Minify_ClosureCompiler : could not create temp file in "'.self::$tempDir.'".'); } file_put_contents($tmpFile, $js); exec(self::_getCmd($options, $tmpFile), $output, $result_code); diff --git a/min/lib/Minify/YUICompressor.php b/min/lib/Minify/YUICompressor.php index 8e6bfcb..5762e89 100644 --- a/min/lib/Minify/YUICompressor.php +++ b/min/lib/Minify/YUICompressor.php @@ -90,7 +90,7 @@ class Minify_YUICompressor { { self::_prepare(); if (! ($tmpFile = tempnam(self::$tempDir, 'yuic_'))) { - throw new Exception('Minify_YUICompressor : could not create temp file.'); + throw new Exception('Minify_YUICompressor : could not create temp file in "'.self::$tempDir.'".'); } file_put_contents($tmpFile, $content); exec(self::_getCmd($options, $type, $tmpFile), $output, $result_code);