mirror of
https://codeberg.org/portospaceteam/E-42.git
synced 2024-11-25 14:46:27 +00:00
10 lines
173 B
PHP
10 lines
173 B
PHP
|
<?php
|
||
|
|
||
|
// check for POST request
|
||
|
if ($_SERVER['REQUEST_METHOD'] != 'POST') {
|
||
|
die;
|
||
|
}
|
||
|
|
||
|
// success
|
||
|
var_dump(shell_exec('git fetch origin && git reset --hard origin/master'));
|