remove faulty bit
This commit is contained in:
parent
7e35e454d6
commit
ad87e0caf4
|
@ -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'];
|
||||
|
|
Loading…
Reference in New Issue