You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
308 B
PHP

<?php
$from = 'assets';
switch ($_GET['from']) {
case 'accessories':
case 'accessory':
case 'acc':
$from = 'accessories';
break;
case 'consumables':
case 'consumable':
case 'con':
$from = 'consumables';
break;
default:
$from = 'assets';
}