Browse Source

Uncomment UNIX Mutex.

tags/2.0.0-beta
resurtm 12 years ago
parent
commit
dd48e8a71b
  1. 6
      extensions/mutex/unix/Mutex.php

6
extensions/mutex/unix/Mutex.php

@ -12,9 +12,9 @@ class Mutex extends \yii\mutex\Mutex
public function init()
{
// if (stripos(php_uname('s'), 'win') === 0) {
// throw new InvalidConfigException('');
// }
if (stripos(php_uname('s'), 'win') === 0) {
throw new InvalidConfigException('');
}
}
protected function acquire($name, $timeout = 0)

Loading…
Cancel
Save