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.
24 lines
402 B
24 lines
402 B
<?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(); |
|
} |
|
?>
|
|
|