From 42b908223ffa4c8cb3acf0b7c75fcbf1cf0c74aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xe=CC=81fir=20Destiny?= Date: Mon, 7 Apr 2014 09:59:34 +0200 Subject: [PATCH] Oublie de fermeture d'appostrophe --- ajax.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ajax.php b/ajax.php index 136b333..66ef9c7 100644 --- a/ajax.php +++ b/ajax.php @@ -45,13 +45,13 @@ if (!empty($_POST['action'])) { $message = empty($_POST['message']) ? 'FTP' : str_replace(array('"', "'"), ' ', stripslashes($_POST['message'])); echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && git push && git add -A && git commit -m "' . $message . '" && git push && ' . $gitstatus . "'")); if (!empty($config['after_push'])) { - echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && ' . $config['after_push'])); + echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && ' . $config['after_push'] . "'")); } exit; } else if ($_POST['action'] == 'pull') { echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && git pull && ' . $gitstatus . "'")); if (!empty($config['after_pull'])) { - echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && ' . $config['after_pull'])); + echo ansi2html($session->exec('bash -c \'cd ' . $config['path'] . ' && ' . $config['after_pull'] . "'")); } exit; } else {