parent
765a7a48a3
commit
3263075a8d
2
ajax.php
2
ajax.php
@ -37,7 +37,7 @@ if (!empty($_POST['action'])) {
|
||||
}
|
||||
|
||||
if ($session->isConnected()) {
|
||||
$gitcommand = 'cd "' . $config['path'] . '" ; git';
|
||||
$gitcommand = 'git --git-dir=' . $config['path'] . '/.git --work-tree=' . $config['path'];
|
||||
|
||||
if ($_POST['action'] == 'status') {
|
||||
echo ansi2html($session->exec($gitcommand . ' fetch'));
|
||||
|
Loading…
Reference in New Issue
Block a user