softwares_classificar.php
1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* @version $Id: softwares_classificar.php 2009-02-17 22:18 harpiain $
* @package CACIC-Admin
* @subpackage SoftwaresClassificar
* @author Adriano dos Santos Vieira <harpiain at gmail.com>
* @copyright Copyright (C) 2008 Adriano dos Santos Vieira. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* CACIC is free software and parts of it may contain or be derived from the
* GNU General Public License or other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
//session_start();
//session_destroy();
session_unset();
$time_start = microtime(true);
/*
* verifica se houve login e também regras para outras verificações (ex: permissões do usuário)!
*/
//if(!isset($_SESSION['id_usuario']))
// die('Acesso restrito (Restricted access)!');
// Ativa modo de depuração (mostra todas as mensagens na página)
// $cacicDebug = true;
include_once('../../include/library.php');
//AntiSpy('1,2,3'); // Permitido somente a estes cs_nivel_administracao...
require_once('softwares_classificar.class.php');
$oCacicAdminRede = new Softwares_Classificar();
$oCacicAdminRede->setup();
$oCacicAdminRede->run();
/*
* Contabiliza tempo de processamento da página
*/
$time_end = microtime(true);
$time_proc = ($time_end-$time_start);
echo '<!-- in '.($time_proc)."ms -->";
?>