mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
mvc: style sweep
This commit is contained in:
parent
bebf3a2a7c
commit
4fe0f4dc65
@ -368,7 +368,7 @@ class Config extends Singleton
|
||||
* load data from stream in shared mode unless no valid xml data is returned
|
||||
* (in which case the writer holds a lock and we should wait for it [LOCK_EX])
|
||||
*/
|
||||
foreach ([LOCK_SH|LOCK_NB, LOCK_EX] as $idx => $mode) {
|
||||
foreach ([LOCK_SH | LOCK_NB, LOCK_EX] as $idx => $mode) {
|
||||
flock($fp, $mode);
|
||||
fseek($fp, 0);
|
||||
$xml = trim(stream_get_contents($fp));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user