15 lines
561 B
PHP
15 lines
561 B
PHP
<?php
|
|
class server {
|
|
public static function compile(){
|
|
return shell_exec('/home/mojotrolls/mojo_zero/compile 2>&1');}
|
|
public static function deploy(){
|
|
return shell_exec('/home/mojotrolls/mojo_zero/deploy 2>&1');}
|
|
public static function revert(){
|
|
return shell_exec('/home/mojotrolls/mojo_zero/revert 2>&1');}
|
|
public static function rights(){
|
|
return shell_exec('/home/mojotrolls/mojo_zero/rights 2>&1');}
|
|
public static function update(){
|
|
return shell_exec('/home/mojotrolls/mojo_zero/update 2>&1');}
|
|
}
|
|
|