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.
25 lines
402 B
25 lines
402 B
2 years ago
|
<?php
|
||
|
|
||
|
if ($isPbxRequest) {
|
||
|
ob_start();
|
||
|
}
|
||
|
|
||
|
$info = array();
|
||
|
if (VerificaPerfilAcesso($dbcon, $idProg, $info)) {
|
||
|
if ($info !== false) {
|
||
|
include($info["arquivo"]);
|
||
|
if ($info["exit"])
|
||
|
exit;
|
||
|
}
|
||
|
}
|
||
|
else {
|
||
|
@header("Location: index.php?idProg=56");
|
||
|
exit;
|
||
|
}
|
||
|
|
||
|
if ($isPbxRequest) {
|
||
|
$conteudo = ob_get_contents();
|
||
|
ob_end_clean();
|
||
|
}
|
||
|
?>
|