aboutsummaryrefslogtreecommitdiffstats
path: root/config/shellcmd/shellcmd.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/shellcmd/shellcmd.inc')
-rw-r--r--config/shellcmd/shellcmd.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/config/shellcmd/shellcmd.inc b/config/shellcmd/shellcmd.inc
index 76ceeb31..cd46ada5 100644
--- a/config/shellcmd/shellcmd.inc
+++ b/config/shellcmd/shellcmd.inc
@@ -79,11 +79,8 @@ function php_install_command()
//rename PHP files from .tmp to .php
- exec("cp /tmp/shellcmd.tmp /usr/local/www/packages/shellcmd/shellcmd.php");
- unlink_if_exists("/tmp/shellcmd.tmp");
-
- exec("cp /tmp/shellcmd_edit.tmp /usr/local/www/packages/shellcmd/shellcmd_edit.php");
- unlink_if_exists("/tmp/shellcmd_edit.tmp");
+ exec("cp /usr/local/pkg/shellcmd.tmp /usr/local/www/packages/shellcmd/shellcmd.php");
+ exec("cp /usr/local/pkg/shellcmd_edit.tmp /usr/local/www/packages/shellcmd/shellcmd_edit.php");
//write_config();