minmod
This commit is contained in:
parent
1cd9ff45f7
commit
50739a1f30
|
@ -180,10 +180,8 @@
|
|||
|
||||
$exec = api_deploy($is_init);
|
||||
|
||||
if( $exec == 0 )
|
||||
slog('Deployment successfully achieved', 'main', 'update');
|
||||
else
|
||||
slog('Deployment failed', 'main', 'update');
|
||||
if( $exec == 0 ) slog('Success', 'api:deploy', 'update');
|
||||
else slog('Failure', 'api:deploy', 'update');
|
||||
|
||||
echo $exec;
|
||||
die($exec);
|
||||
|
|
|
@ -170,6 +170,10 @@
|
|||
|
||||
|
||||
$exec = api_init();
|
||||
|
||||
if( $exec == 0 ) slog('Success', 'api:init', 'update');
|
||||
else slog('Failure', 'api:init', 'update');
|
||||
|
||||
echo $exec;
|
||||
die($exec);
|
||||
|
||||
|
|
|
@ -150,6 +150,10 @@
|
|||
}
|
||||
|
||||
$exec = api_request();
|
||||
|
||||
if( $exec == 0 ) slog('Success', 'api:sync', 'update');
|
||||
else slog('Failure', 'api:sync', 'update');
|
||||
|
||||
echo $exec;
|
||||
die($exec);
|
||||
|
||||
|
|
Loading…
Reference in New Issue