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

<?php
if(isset($_REQUEST['pull'])) {
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>';
}
?>
<form method="post" action="">
<input type="submit" name="pull" value="Pull from Repository" />
</form>