Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

auto commit

  • Loading branch information...
commit f0120b020d374e9d06736efc9c62beb3fc6fb4ff 1 parent 9b2bc3b
@dannegm dannegm authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 update.php
View
7 update.php
@@ -1,8 +1,9 @@
<?php
-$cmd = exec('sh updategit.sh');
-echo "Auto pull\n";
+$out = array();
+$cmd = exec('sh updategit.sh', $out);
if ($cmd){
- echo "Pull exitoso";
+ echo "Pull exitoso<br>";
+ echo $out;
}else{
echo "No se pudo hacer pull";
}
Please sign in to comment.
Something went wrong with that request. Please try again.