This commit is contained in:
xdrm-brackets 2017-05-09 12:27:09 +02:00
parent 1cd9ff45f7
commit 50739a1f30
3 changed files with 17 additions and 11 deletions

View File

@ -180,10 +180,8 @@
$exec = api_deploy($is_init); $exec = api_deploy($is_init);
if( $exec == 0 ) if( $exec == 0 ) slog('Success', 'api:deploy', 'update');
slog('Deployment successfully achieved', 'main', 'update'); else slog('Failure', 'api:deploy', 'update');
else
slog('Deployment failed', 'main', 'update');
echo $exec; echo $exec;
die($exec); die($exec);

View File

@ -170,6 +170,10 @@
$exec = api_init(); $exec = api_init();
if( $exec == 0 ) slog('Success', 'api:init', 'update');
else slog('Failure', 'api:init', 'update');
echo $exec; echo $exec;
die($exec); die($exec);

View File

@ -150,6 +150,10 @@
} }
$exec = api_request(); $exec = api_request();
if( $exec == 0 ) slog('Success', 'api:sync', 'update');
else slog('Failure', 'api:sync', 'update');
echo $exec; echo $exec;
die($exec); die($exec);