mewow
This commit is contained in:
parent
ecd44703a5
commit
0abd656849
1 changed files with 9 additions and 0 deletions
9
main/gitui_.php
Normal file
9
main/gitui_.php
Normal 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>
|
Reference in a new issue