diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-05 01:35:53 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2010-11-05 01:35:53 +1100 |
| commit | 599530e935ac85978ced7198b52212308a6b0f88 (patch) | |
| tree | 5e78f53b7ffd8a504913d0bb39d6c813b505de7c /post.php | |
| parent | 664dce496a9259cc60ec39c31e47023f3c3eb788 (diff) | |
| parent | 6cdaed486e6c373b52f639d3e92d7365242f6a89 (diff) | |
Merge branch 'master' of github.com:savetheinternet/Tinyboard
Conflicts:
inc/config.php
inc/functions.php
post.php
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -2,6 +2,9 @@ require 'inc/functions.php';
require 'inc/display.php';
require 'inc/template.php';
+ if (file_exists('inc/instance-config.php')) {
+ require 'inc/instance-config.php';
+ }
require 'inc/config.php';
require 'inc/user.php';
@@ -78,7 +81,11 @@ $size = $_FILES['file']['size'];
if($size > MAX_FILESIZE)
error(sprintf3(ERR_FILESIZE, array(
+<<<<<<< HEAD 'sz'=>commaize($size),
+======= + 'filesz'=>commaize($size),
+>>>>>>> 6cdaed486e6c373b52f639d3e92d7365242f6a89 'maxsz'=>commaize(MAX_FILESIZE))));
}
|
