diff --git a/php/upload.php b/php/upload.php index 09ea4b0..a5dd0d7 100755 --- a/php/upload.php +++ b/php/upload.php @@ -74,8 +74,8 @@ } function push_to_git() { - $git_cmd = '-c user.name="www-data" -c user.email="no-replay@example.org"' - shell_exec('cd /var/www/src/AliceClass;' . $git_cmd . 'add _data/aulas.json;' . $git_cmd . 'commit -m "update data";' . $git_cmd . 'push'); + // $git_cmd = '-c user.name="www-data" -c user.email="no-replay@example.org"' + // shell_exec('cd /var/www/src/AliceClass;' . $git_cmd . 'add _data/aulas.json;' . $git_cmd . 'commit -m "update data";' . $git_cmd . 'push'); } $username = $_SERVER['PHP_AUTH_USER'];