DiscuzX/utility/oldprg/discuz/attachment.php

14 lines
230 B
PHP
Raw Normal View History

2016-12-15 08:20:54 -05:00
<?php
error_reporting(E_ERROR);
ob_start();
header("HTTP/1.1 301 Moved Permanently");
$url = 'forum.php?';
if(is_numeric($_GET['aid'])) {
$url .= 'mod=attachment&aid='.$_GET['aid'];
}
header("location: $url");
?>