summaryrefslogtreecommitdiff
path: root/calculate_max_upload_inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'calculate_max_upload_inc.php')
-rw-r--r--calculate_max_upload_inc.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/calculate_max_upload_inc.php b/calculate_max_upload_inc.php
index bfe1674..6bece9e 100644
--- a/calculate_max_upload_inc.php
+++ b/calculate_max_upload_inc.php
@@ -1,5 +1,11 @@
<?php
-// settings that are useful to know about at upload time
+/**
+ * @version $Revision: 1.4 $
+ * @package liberty
+ * @subpackage functions
+ *
+ * settings that are useful to know about at upload time
+ */
$postMax = str_replace( 'M', '', ini_get( 'post_max_size' ));
$uploadMax = str_replace( 'M', '', ini_get( 'upload_max_filesize' ) );
@@ -7,7 +13,9 @@ if( $postMax < $uploadMax ) {
$uploadMax = $postMax;
}
-// calculate user quota
+/**
+ * calculate user quota
+ */
if( $gBitSystem->isPackageActive( 'quota' ) ) {
require_once( QUOTA_PKG_PATH.'calculate_quota_inc.php' );
}