diff options
author | Florian Pritz <bluewind@server-speed.net> | 2011-01-28 22:51:06 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@server-speed.net> | 2011-01-28 22:58:52 +0100 |
commit | ce2b69675075444c9e40b72bcdd42ab7edbbe633 (patch) | |
tree | 2932f13b0db14fe53dc0622d888318db638a017f /system/application/helpers | |
parent | b6b8a6587c399bfd89e13e92ce04ee8486688e6e (diff) |
update to CI 2.0
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'system/application/helpers')
-rw-r--r-- | system/application/helpers/filebin_helper.php | 10 | ||||
-rw-r--r-- | system/application/helpers/index.html | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/system/application/helpers/filebin_helper.php b/system/application/helpers/filebin_helper.php deleted file mode 100644 index 3d6c30b76..000000000 --- a/system/application/helpers/filebin_helper.php +++ /dev/null @@ -1,10 +0,0 @@ -<?php - -// Source: http://ibnuyahya.com/format-bytes-to-kb-mb-gb/ -function format_bytes($size, $precision = 2){ - $base = log($size) / log(1024); - $suffixes = array('B', 'kB', 'MB', 'GB', 'TB' , 'PB' , 'EB'); - return round(pow(1024, $base - floor($base)), $precision) . $suffixes[floor($base)]; -} - -# vim: set noet: diff --git a/system/application/helpers/index.html b/system/application/helpers/index.html deleted file mode 100644 index c942a79ce..000000000 --- a/system/application/helpers/index.html +++ /dev/null @@ -1,10 +0,0 @@ -<html> -<head> - <title>403 Forbidden</title> -</head> -<body> - -<p>Directory access is forbidden.</p> - -</body> -</html>
\ No newline at end of file |