diff options
| -rw-r--r-- | lib/version.php | 2 | ||||
| -rw-r--r-- | system/config.php | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lib/version.php b/lib/version.php index d666783..391e463 100644 --- a/lib/version.php +++ b/lib/version.php @@ -1,7 +1,7 @@ <?php // please leave it as it is ;) define("TINYEMOTES_NAME", "TinyEmotes"); -define("TINYEMOTES_VERSION", "0.3.1"); +define("TINYEMOTES_VERSION", "0.4.0"); define("TINYEMOTES_LINK", "https://git.ilt.su/tiny/emotes.git"); if ($s = file_get_contents("{$_SERVER['DOCUMENT_ROOT']}/.git/refs/heads/master")) { diff --git a/system/config.php b/system/config.php index 4a1a9da..4e852d7 100644 --- a/system/config.php +++ b/system/config.php @@ -150,6 +150,11 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { <?= CONFIG['emote']['urlupload'] ? 'checked' : '' ?>></td> </tr> <tr> + <th>Allow emote reupload</th> + <td><input type="checkbox" name="reupload_enable" value="on" + <?= CONFIG['reupload']['enable'] ? 'checked' : '' ?>></td> + </tr> + <tr> <th>Default uploader name</th> <td><input type="text" name="anonymous_defaultname" value="<?= CONFIG['anonymous']['defaultname'] ?>"></td> |
