This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/main/gitui_.php

10 lines
303 B
PHP
Raw Normal View History

2015-03-08 03:48:22 +00:00
<?php
if(isset($_REQUEST['pull'])) {
2015-03-08 03:52:32 +00:00
shell_exec('git -C /var/www/flashii.net pull > /var/www/autopull.log');
print '<h2>Site should be up with the latest commit now.</h2>';
2015-03-08 03:48:22 +00:00
}
?>
<form method="post" action="">
<input type="submit" name="pull" value="Pull from Repository" />
</form>