summaryrefslogtreecommitdiffstats
path: root/application/views/file/upload_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/file/upload_form.php')
-rw-r--r--application/views/file/upload_form.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index f9f40475d..8fc7b9f59 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -70,8 +70,8 @@
<script type="text/javascript">
/* <![CDATA[ */
- var max_upload_size = "<?php echo $max_upload_size; ?>";
- var max_files_per_upload = "<?php echo ini_get("max_file_uploads"); ?>";
+ window.appConfig.maxUploadSize = "<?php echo $max_upload_size; ?>";
+ window.appConfig.maxFilesPerUpload = "<?php echo ini_get("max_file_uploads"); ?>";
/* ]]> */
</script>