diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2011-04-17 12:03:23 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2011-04-17 12:03:23 +0200 |
commit | a14f8243e8b137fb57fa6071de7d1ebe7268866c (patch) | |
tree | bd107f63dfadcb246fdae407ff88371deb1d32b4 /files/index.php | |
parent | ab155de14fbc046d78b4eeaac0e8350c4b38dc98 (diff) | |
download | nextcloud-server-a14f8243e8b137fb57fa6071de7d1ebe7268866c.tar.gz nextcloud-server-a14f8243e8b137fb57fa6071de7d1ebe7268866c.zip |
get max upload file size for upload form from php settings
Diffstat (limited to 'files/index.php')
-rw-r--r-- | files/index.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/files/index.php b/files/index.php index 638f5d0c51e..e07e80aabb5 100644 --- a/files/index.php +++ b/files/index.php @@ -60,6 +60,7 @@ $tmpl = new OC_TEMPLATE( "files", "index", "user" ); $tmpl->assign( "files", $files ); $tmpl->assign( "breadcrumb", $breadcrumb ); $tmpl->assign( 'dir', $dir); +$tmpl->assign( 'uploadMaxFilesize', OC_HELPER::computerFileSize(ini_get('upload_max_filesize'))); $tmpl->printPage(); ?> |