summaryrefslogtreecommitdiffstats
path: root/application/views/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/header.php')
-rw-r--r--application/views/header.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/application/views/header.php b/application/views/header.php
index 89a3c8617..f77487ba9 100644
--- a/application/views/header.php
+++ b/application/views/header.php
@@ -29,7 +29,10 @@ if (is_cli_client() && !isset($force_full_html)) {
<script type="text/javascript">
/* <![CDATA[ */
var require = { baseUrl: '/data/js' };
- window.appConfig = {};
+ window.appConfig = {
+ maxUploadSize: <?php echo $max_upload_size; ?>,
+ maxFilesPerUpload: <?php echo ini_get("max_file_uploads"); ?>
+ };
/* ]]> */
</script>
<script data-main="main" src="/data/js/vendor/require.js"></script>