Bugs solved
This commit is contained in:
parent
f4372f8f5c
commit
a861946412
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.405.56) stable; urgency=low
|
||||
hedera-web (1.405.57) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ module.exports = new Class
|
|||
this.$('social-bar').conn = this._conn;
|
||||
|
||||
var sql = 'SELECT nickname FROM account.userView;'
|
||||
+'SELECT default_form, image_host FROM config;'
|
||||
+'SELECT default_form FROM config;'
|
||||
+'SELECT url FROM imageConfig;'
|
||||
+'SELECT production_domain, test_domain FROM config;';
|
||||
this._conn.execQuery (sql, this.onMainQueryDone.bind (this));
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.405.56",
|
||||
"version": "1.405.57",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -82,7 +82,7 @@ class Thumb extends Vn\Web\RestRequest
|
|||
|
||||
// Sends the thumb to the client
|
||||
|
||||
$useXsendfile = $db->getValue ('SELECT use_xsendfile FROM image_config');
|
||||
$useXsendfile = $db->getValue ('SELECT useXsendfile FROM imageConfig');
|
||||
|
||||
if ($useXsendfile)
|
||||
{
|
||||
|
|
|
@ -72,7 +72,7 @@ class Upload extends Vn\Web\JsonRequest
|
|||
throw new Lib\Exception (s($message));
|
||||
}
|
||||
|
||||
$maxSize = $db->getValue ('SELECT max_size FROM image_config');
|
||||
$maxSize = $db->getValue ('SELECT maxSize FROM imageConfig');
|
||||
|
||||
if ($_FILES['image']['size'] > $maxSize * 1048576)
|
||||
throw new UserException (sprintf (s('File size error'), $maxSize));
|
||||
|
|
Loading…
Reference in New Issue