-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgo2.php
26 lines (25 loc) · 1.04 KB
/
go2.php
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
<?php
### =============================================================
### Mastop InfoDigital - Paixão por Internet
### =============================================================
### Arquivo de redirecionamento de link
### =============================================================
### Developer: Fernando Santos (topet05), [email protected]
### Copyright: Mastop InfoDigital © 2003-2007
### -------------------------------------------------------------
### www.mastop.com.br
### =============================================================
###
### =============================================================
use Xmf\Request;
require_once dirname(dirname(__DIR__)) . '/mainfile.php';
require_once __DIR__ . '/header.php';
$tac = Request::getInt('tac', 0);
//$go2_classe = mgo_getClass(MGO_MOD_TABELA1, $tac);
$go2_classe = new \XoopsModules\Mastopgo2\Go2($tac);
if (empty($tac) || '' == $go2_classe->getVar('go2_30_link')) {
exit();
}
$go2_classe->atualizaCount();
header('Location: ' . $go2_classe->getVar('go2_30_link'));
exit();