Lines 236-241
Link Here
|
236 |
mailer = findoptionS("mailer"); |
236 |
mailer = findoptionS("mailer"); |
237 |
#endif |
237 |
#endif |
238 |
|
238 |
|
|
|
239 |
// TODO: Implement a "findoptionO" and a version of |
240 |
// reality check which uses off_t, for large file support? |
241 |
max_upload_size = findoptionI("maxuploadsize"); |
242 |
if (!realitycheck(max_upload_size, -1, 0, "maxuploadsize")) { |
243 |
return false; |
244 |
} // check its a reasonable value |
245 |
if (max_upload_size > 0) |
246 |
max_upload_size *= 1024; |
247 |
|
239 |
// the dansguardian.conf and pics files get amalgamated into one |
248 |
// the dansguardian.conf and pics files get amalgamated into one |
240 |
// deque. They are only seperate files for clarity. |
249 |
// deque. They are only seperate files for clarity. |
241 |
|
250 |
|