summaryrefslogtreecommitdiffstats
path: root/application/views/header.php
diff options
context:
space:
mode:
authorJoakim Reinert <mail@jreinert.com>2015-05-01 23:18:48 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-05-05 12:21:27 +0200
commitb76a85e2992000bd6fa21a58050ffcac0f8fba39 (patch)
tree418911d808057577148c61f199e222deb7715c92 /application/views/header.php
parent9466b2f5e3b50fd625f0de26bbc37b8a35206704 (diff)
Set max upload size and file count in upload_form view only
Diffstat (limited to 'application/views/header.php')
-rw-r--r--application/views/header.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/application/views/header.php b/application/views/header.php
index f77487ba9..89a3c8617 100644
--- a/application/views/header.php
+++ b/application/views/header.php
@@ -29,10 +29,7 @@ if (is_cli_client() && !isset($force_full_html)) {
<script type="text/javascript">
/* <![CDATA[ */
var require = { baseUrl: '/data/js' };
- window.appConfig = {
- maxUploadSize: <?php echo $max_upload_size; ?>,
- maxFilesPerUpload: <?php echo ini_get("max_file_uploads"); ?>
- };
+ window.appConfig = {};
/* ]]> */
</script>
<script data-main="main" src="/data/js/vendor/require.js"></script>