Use max upload size from php config in frontend plupload js

This commit is contained in:
Lucas Bickel 2017-12-26 12:46:17 +01:00
parent 0327a750ad
commit c342aef031
3 changed files with 62 additions and 1 deletions

View file

@ -3,6 +3,9 @@
font-size: 200px !important;
}
</style>
<script type="text/javascript">
var LIBRETIME_PLUPLOAD_MAX_FILE_SIZE = "<?php echo $this->uploadMaxSize; ?>";
</script>
<?php $upgradeLink = Application_Common_OsPath::getBaseDir() . "billing/upgrade"; ?>
<?php if ($this->quotaLimitReached) { ?>
<div class="errors quota-reached">