Skip to content

Commit

Permalink
Fixed path for the minify in theme.php two function call
Browse files Browse the repository at this point in the history
  • Loading branch information
rasseljandavid committed Jul 27, 2011
1 parent a798f18 commit f0c7af7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions subsystems/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,9 @@ function rebuild_css(){
//eDebug($css_files);
//exit;
// Load the Minify library if needed.
include_once(BASE.'external/minify/minify.php');
include_once(BASE.'external/minify/min/index.php');
// Create new Minify objects.
$minifyCSS = new Minify(Minify::TYPE_CSS);

// Specify the files to be minified. Full URLs are allowed as long as they point
// to the same server running Minify.
// $minifyCSS->addFile($css_files); // No longer used, passed as parameter to combine
Expand Down Expand Up @@ -177,11 +176,10 @@ function exponent_theme_buildCSSFile($cssfile) {
global $css_files;
define('MINIFY_CACHE_DIR',BASE.'tmp/minify'); // Define the cache dir first.
if (!is_dir(BASE.'tmp/minify')) mkdir(BASE.'tmp/minify'); //if the dir doesnt exist - create it
include_once(BASE.'external/minify/minify.php'); // Load the Minify library if needed.
include_once(BASE.'external/minify/min/index.php'); // Load the Minify library if needed.

// Create new Minify objects.
$minifyCSS = new Minify(Minify::TYPE_CSS);

// Specify the files to be minified. Full URLs are allowed as long as they point to the same server running Minify.
// $minifyCSS->addFile($css_files); // No longer used, passed as parameter to combine

Expand Down

0 comments on commit f0c7af7

Please sign in to comment.