liberty
[ class tree: liberty ] [ index: liberty ] [ all elements ]

Source for file calculate_max_upload_inc.php

Documentation is available at calculate_max_upload_inc.php

  1. <?php
  2. /**
  3.  * @version  $Header$
  4.  * 
  5.  *  settings that are useful to know about at upload time
  6.  * 
  7.  * @package  liberty
  8.  * @subpackage functions
  9.  */
  10. $postMax str_replace'M'''ini_get'post_max_size' ));
  11. $uploadMax str_replace'M'''ini_get'upload_max_filesize' ) );
  12.  
  13. if$postMax $uploadMax {
  14.     $uploadMax $postMax;
  15. }
  16.  
  17. /** 
  18.  * calculate user quota
  19.  */
  20. if$gBitSystem->isPackageActive'quota' ) ) {
  21.     require_onceQUOTA_PKG_PATH.'calculate_quota_inc.php' );
  22. }
  23.  
  24. $gBitSmarty->assign_by_ref'uploadMax'$uploadMax );
  25. ?>

Documentation generated on Wed, 29 Jul 2015 13:56:13 +0000 by phpDocumentor 1.5.0-lsces