diff --git a/min/builder/_index.js b/min/builder/_index.js index cf40a3e..ca2d497 100644 --- a/min/builder/_index.js +++ b/min/builder/_index.js @@ -200,7 +200,7 @@ var MUB = { * Runs on DOMready */ ,init : function () { - $('#jsDidntLoad').hide(); + $('#jsDidntLoad').remove(); $('#app').show(); $('#sources').html(''); $('#add button').click(MUB.addButtonClick); diff --git a/min/builder/index.php b/min/builder/index.php index bd3de96..deb0fea 100644 --- a/min/builder/index.php +++ b/min/builder/index.php @@ -33,7 +33,7 @@ $setIncludeSuccess = set_include_path(dirname(__FILE__) . '/../lib' . PATH_SEPAR // we do it this way because we want the builder to work after the user corrects // include_path. (set_include_path returning FALSE is OK). try { - require_once 'Solar/Dir.php'; + require_once 'Minify/Cache/File.php'; } catch (Exception $e) { if (! $setIncludeSuccess) { echo "Minify: set_include_path() failed. You may need to set your include_path " @@ -46,8 +46,8 @@ try { require 'Minify.php'; $cachePathCode = ''; -if (! isset($min_cachePath)) { - $detectedTmp = rtrim(Solar_Dir::tmp(), DIRECTORY_SEPARATOR); +if (! isset($min_cachePath) && ! function_exists('sys_get_temp_dir')) { + $detectedTmp = Minify_Cache_File::tmp(); $cachePathCode = "\$min_cachePath = " . var_export($detectedTmp, 1) . ';'; } @@ -73,6 +73,7 @@ b {color:#c00} .topNote {background: #ff9; display:inline-block; padding:.5em .6em; margin:0 0 1em;} .topWarning {background:#c00; color:#fff; padding:.5em .6em; margin:0 0 1em;} .topWarning a {color:#fff;} +#jsDidntLoad {display:none;} @@ -179,11 +180,10 @@ by Minify. E.g. @import "/min/?g=css2";<