forked from SimplesIP/pabx-app
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
540 B
26 lines
540 B
2 years ago
|
<?
|
||
|
session_start();
|
||
|
?>
|
||
|
<style type="text/css">
|
||
|
<!--
|
||
|
body {
|
||
|
margin-left: 0px;
|
||
|
margin-top: 0px;
|
||
|
margin-right: 0px;
|
||
|
margin-bottom: 0px;
|
||
|
}
|
||
|
-->
|
||
|
</style><div align="center">
|
||
|
<code>
|
||
|
<?
|
||
|
$acao = $_GET['acao'];
|
||
|
$comando = $_GET['comando'];
|
||
|
if ($acao == 'restart') {
|
||
|
$var = system('etc/init.d/rc.pbx restart');
|
||
|
}
|
||
|
?>
|
||
|
</code> </div>
|
||
|
<script>
|
||
|
//fecha a janela presa no meio do sistema
|
||
|
fecha_popup();
|
||
|
</script>
|