summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-03-13 03:52:42 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-03-13 03:52:42 +1100
commit20616a23f42cc8a35d1587d111001602f465c30d (patch)
tree01a67e6a589d7a649772c4199dfea86c41b55586
parentb082c8c81183b4fce97b634115132c57b57627e6 (diff)
h
-rw-r--r--mod.php2
1 files changed, 1 insertions, 1 deletions
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);