1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-28 10:20:45 +02:00
Files
php-e107/e107_files/shortcode/url.sc
2008-11-25 16:26:03 +00:00

13 lines
279 B
Python
Executable File

// $Id: url.sc,v 1.3 2008-11-25 16:26:02 mcfly_e107 Exp $
$e107 = e107::getInstance();
list($section, $type, $parms) = explode('|', $parm, 3);
if(strpos($parms, '=') !== false)
{
parse_str($parms, $p);
}
else
{
$p[$parms] = 1;
}
return $e107->url->getURL($section, $type, $p);