Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jxmot committed Jun 13, 2022
1 parent cc08496 commit 8181aa1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cssjs-minify.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ function usage($scrpt) {
require_once 'prepmin.php';
} else {
if(count($minifycfg->minpreprun) === 2) {
// we're going to run the script from
// within the folder where it's contained.
// this will help insure that the paths
// are correct.
$cwd = getcwd();
if(is_dir($minifycfg->minpreprun[0])) {
chdir($minifycfg->minpreprun[0]);
Expand Down

0 comments on commit 8181aa1

Please sign in to comment.