2018-03-23 14:20:16 +08:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* @copyright Leyun internet Technology(Shanghai)Co.,Ltd
|
|
|
|
* @license http://www.dzzoffice.com/licenses/license.txt
|
|
|
|
* @package DzzOffice
|
|
|
|
* @link http://www.dzzoffice.com
|
|
|
|
* @author zyx(zyx@dzz.cc)
|
|
|
|
*/
|
|
|
|
require './core/coreBase.php';
|
|
|
|
$dzz = C::app();
|
|
|
|
$dzz->init_session = false;
|
|
|
|
$dzz->init_setting=false;
|
|
|
|
$dzz->init_user=false;
|
|
|
|
$dzz->init_misc=false;
|
|
|
|
$dzz->init();
|
|
|
|
$sid=$_GET['sid'];
|
|
|
|
$short=C::t('shorturl')->fetch($sid);
|
|
|
|
C::t('shorturl')->addview($sid);
|
2018-05-26 11:10:27 +08:00
|
|
|
@header("Location: ". outputurl($short['url']));
|
2018-03-23 14:20:16 +08:00
|
|
|
exit();
|
|
|
|
?>
|