diff options
Diffstat (limited to 'include/derivative_params.inc.php')
-rw-r--r-- | include/derivative_params.inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/derivative_params.inc.php b/include/derivative_params.inc.php index 9fe76cd43..a84c0f854 100644 --- a/include/derivative_params.inc.php +++ b/include/derivative_params.inc.php @@ -19,6 +19,11 @@ // | USA. | // +-----------------------------------------------------------------------+ +function derivative_to_url($t) +{ + return substr($t, 0, 2); +} + function size_to_url($s) { if ($s[0]==$s[1]) |