Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
c6903305
Commit
c6903305
authored
Sep 13, 2010
by
Ruslan Kabalin
Browse files
profileicons: define MAX_FILE_SIZE for uploaded icons
Signed-off-by:
Ruslan Kabalin
<
ruslan.kabalin@luns.net.uk
>
parent
ccac02a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/file/profileicons.php
View file @
c6903305
...
...
@@ -66,7 +66,8 @@ $uploadform = pieform(array(
'file'
=>
array
(
'type'
=>
'file'
,
'title'
=>
get_string
(
'profileicon'
,
'artefact.file'
),
'rules'
=>
array
(
'required'
=>
true
)
'rules'
=>
array
(
'required'
=>
true
),
'maxfilesize'
=>
get_max_upload_size
(
false
),
),
'title'
=>
array
(
'type'
=>
'text'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment