From 5158a6f4339ee85b928e6bd33a937a24f91f8bc2 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 4 Jun 2009 17:53:40 -0700 Subject: Add MY_num containing num::convert_to_bytes() which supports PHP's size shorthand, and convert the simple_uploader code to use it. --- modules/gallery/helpers/MY_num.php | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 modules/gallery/helpers/MY_num.php (limited to 'modules/gallery/helpers') diff --git a/modules/gallery/helpers/MY_num.php b/modules/gallery/helpers/MY_num.php new file mode 100644 index 00000000..613b99df --- /dev/null +++ b/modules/gallery/helpers/MY_num.php @@ -0,0 +1,40 @@ +