コード例 #1
0
ファイル: util.php プロジェクト: enoch85/owncloud-testserver
 /**
  * calculates the maximum upload size respecting system settings, free space and user quota
  *
  * @param string $dir the current folder where the user currently operates
  * @param int $free the number of bytes free on the storage holding $dir, if not set this will be received from the storage directly
  * @return int number of bytes representing
  * @since 5.0.0
  */
 public static function maxUploadFilesize($dir, $free = null)
 {
     return \OC_Helper::maxUploadFilesize($dir, $free);
 }
コード例 #2
0
ファイル: util.php プロジェクト: CDN-Sparks/owncloud
 /**
  * @brief calculates the maximum upload size respecting system settings, free space and user quota
  *
  * @param $dir the current folder where the user currently operates
  * @return number of bytes representing
  */
 public static function maxUploadFilesize($dir)
 {
     return \OC_Helper::maxUploadFilesize($dir);
 }