This commit is contained in:
flash 2015-03-08 04:48:22 +01:00
parent ecd44703a5
commit 0abd656849

9
main/gitui_.php Normal file
View file

@ -0,0 +1,9 @@
<?php
if(isset($_REQUEST['pull'])) {
header('Content-Type: text/plain');
print shell_exec('git -C /var/www/flashii.net pull > /var/www/autopull.log');
}
?>
<form method="post" action="">
<input type="submit" name="pull" value="Pull from Repository" />
</form>