Merge branch 'master' into dev
This commit is contained in:
commit
b87746e1db
|
@ -1,4 +1,4 @@
|
||||||
hedera-web (1.381-deb8) stable; urgency=low
|
hedera-web (1.383-deb8) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
2
env.php
2
env.php
|
@ -10,4 +10,4 @@ const _DEV_MODE = TRUE;
|
||||||
const _CONFIG_DIR = __DIR__.'/../../.config';
|
const _CONFIG_DIR = __DIR__.'/../../.config';
|
||||||
const _LOG_DIR = '/tmp';
|
const _LOG_DIR = '/tmp';
|
||||||
const _DATA_DIR = '/tmp';
|
const _DATA_DIR = '/tmp';
|
||||||
|
const _HEDERA_DIR = __DIR__;
|
||||||
|
|
|
@ -196,8 +196,7 @@ Hedera.Checkout = new Class
|
||||||
|
|
||||||
,calendarRestrict: function (date)
|
,calendarRestrict: function (date)
|
||||||
{
|
{
|
||||||
return date.getTime () >= this.today.getTime ()
|
return date.getTime () >= this.today.getTime ();
|
||||||
&& date.getDay () != 0;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
@include_once __DIR__.'/env.php';
|
@include_once __DIR__.'/env.php';
|
||||||
require_once 'vn-autoload.php';
|
require_once 'vn-autoload.php';
|
||||||
|
|
||||||
$cliApp = new Vn\Lib\CliApp ('hedera-web', __DIR__.'/rest');
|
if (!defined ('_HEDERA_DIR'))
|
||||||
|
define ('_HEDERA_DIR', '/usr/share/hedera-web');
|
||||||
|
|
||||||
|
$cliApp = new Vn\Lib\CliApp ('hedera-web', _HEDERA_DIR.'/rest');
|
||||||
$cliApp->run ();
|
$cliApp->run ();
|
||||||
|
|
||||||
|
|
|
@ -174,7 +174,7 @@ module.exports = new Class
|
||||||
if (this._restrictFunc)
|
if (this._restrictFunc)
|
||||||
{
|
{
|
||||||
cell.enabled = this._restrictFunc (cellDate);
|
cell.enabled = this._restrictFunc (cellDate);
|
||||||
cellDate.setTime (cellDate.getTime () + 86400000);
|
cellDate.setDate (cellDate.getDate () + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue