aboutsummaryrefslogtreecommitdiff
path: root/private/space.php
diff options
context:
space:
mode:
authorMinteck <minteck@phoenixnet.tech>2021-10-31 12:44:27 +0100
committerMinteck <minteck@phoenixnet.tech>2021-10-31 12:44:27 +0100
commit7bbb59948928e590841e4af440b0b764a147e450 (patch)
tree56d8e7ec09db8ea26939c2dc6b44136e6aa6ba12 /private/space.php
downloadshare-7bbb59948928e590841e4af440b0b764a147e450.tar.gz
share-7bbb59948928e590841e4af440b0b764a147e450.tar.bz2
share-7bbb59948928e590841e4af440b0b764a147e450.zip
Initial commit
Diffstat (limited to 'private/space.php')
-rw-r--r--private/space.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/private/space.php b/private/space.php
new file mode 100644
index 0000000..6304fc0
--- /dev/null
+++ b/private/space.php
@@ -0,0 +1,11 @@
+<?php
+
+function allfilessize() {
+ global $_CONF_USP;
+
+ $size = 0;
+ foreach ($_CONF_USP['files'] as $file) {
+ $size = $size + $file['size'];
+ }
+ return $size;
+} \ No newline at end of file