"Improved" the git thing
This commit is contained in:
parent
0e2d2a3b1d
commit
03468c7f11
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
if(isset($_REQUEST['pull'])) {
|
if(isset($_REQUEST['pull'])) {
|
||||||
header('Content-Type: text/plain');
|
shell_exec('git -C /var/www/flashii.net pull > /var/www/autopull.log');
|
||||||
print 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="">
|
<form method="post" action="">
|
||||||
|
|
Reference in a new issue