Subject | Hash | Author | Date (UTC) |
---|---|---|---|
state_get: Return empty if the state table does not exists | 35822bff104ba2133f29a0a69cff4603d990a721 | Catalin(ux) M. BOIE | 2017-07-09 19:18:11 |
duilder: add 'samples' dir to the docs | 8762f7dbfcec1f3ed5d6d7ba7dbf0ed547a894b7 | Catalin(ux) M. BOIE | 2017-07-09 06:54:06 |
Bump version to 0.70 | a3524c87b21d22d734626503683e80e51abd574c | Catalin(ux) M. BOIE | 2017-07-09 06:40:24 |
Added nginx next to apache | 982e6536f5204a07c939b01229784a46c18cdada | Catalin(ux) M. BOIE | 2017-07-09 06:38:55 |
rg_exec: when stdout closes, we should not try to get input anymore from the external program | b550d45c19c48235eddbd5b6fdcadcec2689065b | Catalin(ux) M. BOIE | 2017-07-09 06:38:32 |
Small corrections | 68c2120f6bb1cd04e3c35b18fee8c2ce89c525bb | Catalin(ux) M. BOIE | 2017-07-09 06:36:59 |
tests: deal with the case when ControlMaster is not 'no' | 7fc439c93b2e9df218292d20fbe50606d770955f | Catalin(ux) M. BOIE | 2017-07-09 06:35:36 |
Do not use http_host anymore | af14b07381106cbc015aa6620d587b7e64ce7ed5 | Catalin(ux) M. BOIE | 2017-07-09 06:34:32 |
ssh_host and git_host must not depend on http host | 4677add26d7c03541cdd412d9fdc420ec79867b2 | Catalin(ux) M. BOIE | 2017-07-09 06:31:52 |
TODO: some updates | 5b264972f3127c9fcceab83014598957d4dd38b1 | Catalin(ux) M. BOIE | 2017-07-09 06:30:32 |
duilder: add also samples directory | e5c3dc7c1dc5db3062705838082d96e0579e42db | Catalin(ux) M. BOIE | 2017-07-09 06:29:34 |
More debugging added to webhooks | 87d72dd3b50917b04e072d95ca22a0d639853701 | Catalin(ux) M. BOIE | 2017-07-09 06:28:38 |
Anonymize also admin init parameters | 18786c9c9c1329e08f07120aa8a8d93a9630989b | Catalin(ux) M. BOIE | 2017-07-06 18:37:28 |
Activate the caching also for HTTP/2.0 | 063b7e36532874272048f1d193176499e834b0a0 | Catalin(ux) M. BOIE | 2017-07-06 18:24:34 |
Improve host name auto-detection problems to work in VM env | b56dd82ac1db3ca2cc4478af65b27909f05dd228 | Catalin(ux) M. BOIE | 2017-07-06 17:58:10 |
compare: added number of lines | c847d9da61749de86ffa0199f26cd68f4b80cc3a | Catalin(ux) M. BOIE | 2017-07-06 17:53:57 |
Added a make target to compute the number of lines | 8695380c12480b1b7b8bc9c5f1ec63a115742d9f | Catalin(ux) M. BOIE | 2017-07-06 17:53:16 |
tests: fixed wh_http - time race closed | 8f182423103c8fc2a4be10840b08be0564e2c814 | Catalin(ux) M. BOIE | 2017-07-02 07:01:12 |
Add texts about the under age and about what laws you have to respect | 65af692eec97a62e7c2212e558aa3b6bc4d925ba | Catalin(ux) M. BOIE | 2017-07-01 20:21:06 |
If we get an error when checking the db version, just exit, do not try to do updates. | 20a3c8e9fbcadcab05c1a24428b06c7dc6c39f7d | Catalin(ux) M. BOIE | 2017-06-30 18:56:45 |
File | Lines added | Lines deleted |
---|---|---|
inc/state.inc.php | 6 | 1 |
File inc/state.inc.php changed (mode: 100644) (index a1dfe6a..343f4e6) | |||
... | ... | function rg_state_error() | |
23 | 23 | ||
24 | 24 | /* | /* |
25 | 25 | * Get state | * Get state |
26 | * Returns FALSE on error | ||
26 | 27 | */ | */ |
27 | 28 | function rg_state_get($db, $var) | function rg_state_get($db, $var) |
28 | 29 | { | { |
... | ... | function rg_state_get($db, $var) | |
48 | 49 | if ($r === FALSE) { | if ($r === FALSE) { |
49 | 50 | // Let's see if the 'state' table is present | // Let's see if the 'state' table is present |
50 | 51 | $r = rg_sql_rel_exists($db, 'state'); | $r = rg_sql_rel_exists($db, 'state'); |
51 | if (($r === FALSE) || ($r === 0)) { | ||
52 | if ($r === FALSE) { | ||
52 | 53 | $ret = FALSE; | $ret = FALSE; |
53 | 54 | break; | break; |
54 | 55 | } | } |
56 | if ($r === 0) { | ||
57 | $ret = ''; | ||
58 | break; | ||
59 | } | ||
55 | 60 | rg_cache_set($k, 1, RG_SOCKET_NO_WAIT); | rg_cache_set($k, 1, RG_SOCKET_NO_WAIT); |
56 | 61 | } | } |
57 | 62 |