Permalink
Browse files

MeCabでopen_basedirを使っていた箇所を削除

  • Loading branch information...
1 parent 0019755 commit 9c958a0d021178ae004a3a41cafaa144482d12c3 @logue committed May 23, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 wiki-common/lib/PukiWiki/Text/MeCab.php
@@ -21,7 +21,7 @@ class MeCab{
public $usable = false;
public function __construct($mecab_path = ''){
if (!extension_loaded('mecab')) {
- if (!empty($mecab_path) && open_basedir($mecab_path) && file_exists($mecab_path)){
+ if (!empty($mecab_path) && file_exists($mecab_path)){
$this->mecab_path = $mecab_path;
$this->usable = true;
//throw new Exception('Mecab is not found or not executable. Please check mecab path: '.$mecab_path);

0 comments on commit 9c958a0

Please sign in to comment.