d488e5edc982cbbe3aae6dca5fffae8790df8b5f
[mirrors/SokoMan.git] / assistants / go.inc.php
1 <?php
2 $id=$_GET['q'];
3 $barcode_prefix_regexp = '/^'.preg_replace('/\//', '\/', BARCODE_PREFIX).'/';
4 if(preg_match($barcode_prefix_regexp, $id)) $id=preg_replace($barcode_prefix_regexp, '', $id);
5 if(preg_match('/\//', $id)) $this->post_redirect_get($id);
6 else $this->post_redirect_get('?q='.urlencode($id));
This page took 0.394655 seconds and 3 git commands to generate.