diff options
author | rvelices <rv-github@modusoptimus.com> | 2011-12-27 20:26:49 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2011-12-27 20:26:49 +0000 |
commit | e42f791f52c502c00d095d6bf9aa3e3989423e98 (patch) | |
tree | 965cbd888b954302e4652fefa7d56ef2e074eb66 /include/derivative_params.inc.php | |
parent | 753f58d6a966a1051dcd62a3eeab8fc18798bcac (diff) |
feature 2541 multisize
- nicer presentation on picture.php
- added a maintenance purge derivatives action
git-svn-id: http://piwigo.org/svn/trunk@12797 68402e56-0260-453c-a942-63ccdbb3a9ee
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]) |