Set cwd for terminal

This commit is contained in:
Matt Pass
2019-09-14 21:05:25 +01:00
committed by GitHub
parent 417edc710a
commit 0aa3ff6b9d

View File

@@ -89,7 +89,7 @@ sendCmd = function(command) {
<body>
<?php
$user = str_replace("\n","",shell_exec("whoami"));
$cwd = $ICEcoder['docRoot'].$ICEcoder['root'];
$cwd = getcwd();
?>
<span class="close" onclick="top.get('terminal').style.display = 'none'">Close X</span>