From 8181aa1970c5c4e4c7b7dd95ba0024abaf0ed34d Mon Sep 17 00:00:00 2001 From: jxmot Date: Mon, 13 Jun 2022 09:49:14 -0500 Subject: [PATCH] comments --- cssjs-minify.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cssjs-minify.php b/cssjs-minify.php index 6db75b2..e64ebe2 100644 --- a/cssjs-minify.php +++ b/cssjs-minify.php @@ -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]);