15 lines
364 B
PHP
Executable File
15 lines
364 B
PHP
Executable File
<?php
|
|
switch (trim($_SERVER['REQUEST_URI'])) {
|
|
case '/?mod=cat&id=1':
|
|
header('HTTP/1.1 301 Moved Permanently');
|
|
header('Location: /');
|
|
break;
|
|
|
|
default:
|
|
}
|
|
require_once 'set/int.php';
|
|
$smarty->display(MYDIR . '/api/mod/' . MOD . '.html', ID);
|
|
/*
|
|
git remote add origin https://biggit.yurecnt.ru/yurec/big-moving.ru.git && git push -u origin master
|
|
*/
|
|
?>
|