From 8d16716c2d953b0bedad94128e70c7202b6b3a99 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Tue, 13 Mar 2012 03:52:42 +1100 Subject: [PATCH] h --- mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.php b/mod.php index 09f3c8dd..89abdddd 100644 --- a/mod.php +++ b/mod.php @@ -354,7 +354,7 @@ $zip->close(); // For some reason, reading the ZIP entries in PHP doesn't seem to work very well. - // Use bash instead. + // Use shell instead. shell_exec('TEMP_DIR=$(mktemp -d); unzip -q "' . $temp . '" -d $TEMP_DIR -x "' . $dir . 'inc/instance-config.php"; mv -v $TEMP_DIR/' . $dir . '* "' . getcwd() . '"; rm -rf $TEMP_DIR'); unlink($temp);